Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6838/0.6838, allocations: 127.4 MB / 134.9 MB, free: 3.73 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 176.9 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.2 MB / 399.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007787/0.0007786, allocations: 78.5 kB / 476.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.046e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1265, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/4.654, allocations: 2.155 GB / 2.777 GB, free: 74.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/4.655, allocations: 99.94 kB / 2.777 GB, free: 73.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.529/6.183, allocations: 451.7 MB / 3.218 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/6.184, allocations: 0 / 3.218 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.285e-05/6.184, allocations: 27.77 kB / 3.218 GB, free: 111.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001975/6.186, allocations: 1.073 MB / 3.219 GB, free: 110.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/6.186, allocations: 8.031 kB / 3.219 GB, free: 110.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/6.187, allocations: 178.8 kB / 3.219 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/6.188, allocations: 0.6995 MB / 3.22 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/6.188, allocations: 12 kB / 3.22 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/6.188, allocations: 28 kB / 3.22 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004211/6.188, allocations: 281.4 kB / 3.22 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/6.189, allocations: 407.3 kB / 3.221 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/6.189, allocations: 0 / 3.221 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/6.189, allocations: 3.797 kB / 3.221 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/6.189, allocations: 8 kB / 3.221 GB, free: 108.9 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/6.191, allocations: 1.604 MB / 3.222 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/6.191, allocations: 322.8 kB / 3.223 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/6.192, allocations: 138.4 kB / 3.223 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/6.192, allocations: 196.3 kB / 3.223 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/6.192, allocations: 38.5 kB / 3.223 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/6.192, allocations: 7.875 kB / 3.223 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.003243/6.195, allocations: 0.682 MB / 3.224 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/6.195, allocations: 209.6 kB / 3.224 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/6.196, allocations: 0.5624 MB / 3.224 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/6.196, allocations: 29.64 kB / 3.224 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/6.196, allocations: 353.8 kB / 3.225 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/6.196, allocations: 94.66 kB / 3.225 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/6.196, allocations: 0 / 3.225 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/6.196, allocations: 318 kB / 3.225 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/6.196, allocations: 140.3 kB / 3.225 GB, free: 104 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/6.197, allocations: 313.2 kB / 3.226 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/6.197, allocations: 186.9 kB / 3.226 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/6.197, allocations: 0 / 3.226 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002625/6.2, allocations: 0.6908 MB / 3.227 GB, free: 102.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/6.2, allocations: 280.1 kB / 3.227 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/6.2, allocations: 8 kB / 3.227 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/6.2, allocations: 52.83 kB / 3.227 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/6.201, allocations: 171.8 kB / 3.227 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009052/6.202, allocations: 1.244 MB / 3.228 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/6.203, allocations: 91.89 kB / 3.228 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/6.203, allocations: 19.98 kB / 3.228 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/6.203, allocations: 4 kB / 3.228 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006863/6.204, allocations: 343.9 kB / 3.229 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/6.204, allocations: 7.984 kB / 3.229 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/6.204, allocations: 72.55 kB / 3.229 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/6.205, allocations: 79.88 kB / 3.229 GB, free: 100.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/6.206, allocations: 1.404 MB / 3.23 GB, free: 98.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/6.206, allocations: 64 kB / 3.23 GB, free: 98.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/6.206, allocations: 19.98 kB / 3.23 GB, free: 98.72 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001533/6.207, allocations: 120.8 kB / 3.23 GB, free: 98.6 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002059/6.209, allocations: 0.5443 MB / 3.231 GB, free: 98.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/6.209, allocations: 71.14 kB / 3.231 GB, free: 97.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/6.211, allocations: 0.5891 MB / 3.232 GB, free: 97.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/6.211, allocations: 0 / 3.232 GB, free: 97.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/6.211, allocations: 7.875 kB / 3.232 GB, free: 97.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/6.211, allocations: 3.984 kB / 3.232 GB, free: 97.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/6.214, allocations: 1.272 MB / 3.233 GB, free: 96.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/6.214, allocations: 8.031 kB / 3.233 GB, free: 96.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/6.215, allocations: 159.8 kB / 3.233 GB, free: 95.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/6.215, allocations: 60.72 kB / 3.233 GB, free: 95.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/6.215, allocations: 15.94 kB / 3.233 GB, free: 95.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/6.22, allocations: 3.172 MB / 3.236 GB, free: 92.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/6.22, allocations: 3.984 kB / 3.236 GB, free: 92.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/6.222, allocations: 0.9204 MB / 3.237 GB, free: 91.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/6.223, allocations: 156.2 kB / 3.237 GB, free: 91.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/6.223, allocations: 8 kB / 3.237 GB, free: 91.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/6.223, allocations: 51.88 kB / 3.237 GB, free: 91.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/6.224, allocations: 43.59 kB / 3.237 GB, free: 91.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/6.224, allocations: 12 kB / 3.237 GB, free: 91.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005351/6.224, allocations: 455.1 kB / 3.238 GB, free: 90.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/6.224, allocations: 0 / 3.238 GB, free: 90.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001561/6.226, allocations: 427.3 kB / 3.238 GB, free: 90.25 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004379/6.23, allocations: 3.233 MB / 3.241 GB, free: 87.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002031/6.232, allocations: 0.844 MB / 3.242 GB, free: 86.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/6.232, allocations: 0 / 3.242 GB, free: 86.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009507/6.233, allocations: 357.9 kB / 3.242 GB, free: 85.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/6.235, allocations: 250.1 kB / 3.243 GB, free: 85.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/6.237, allocations: 1.108 MB / 3.244 GB, free: 84.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/6.238, allocations: 0.9708 MB / 3.245 GB, free: 83.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008531/6.239, allocations: 223 kB / 3.245 GB, free: 83.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/6.239, allocations: 243.3 kB / 3.245 GB, free: 83 MB / 0.6355 GB Notification: Performance of SimCode: time 1.333e-06/6.239, allocations: 0 / 3.245 GB, free: 83 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04878/6.288, allocations: 28.7 MB / 3.273 GB, free: 54.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/6.288, allocations: 189 kB / 3.273 GB, free: 54.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/9.509, allocations: 2.656 kB / 3.273 GB, free: 54.19 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)