Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8681/0.8681, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 185 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 447.7 MB, free: 4.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009297/0.0009297, allocations: 92.33 kB / 0.5187 GB, free: 1.211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 273.6 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004159, allocations: 14.38 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.039/4.185, allocations: 1.873 GB / 2.647 GB, free: 154.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/4.185, allocations: 98.12 kB / 2.647 GB, free: 154.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.64/5.826, allocations: 463.1 MB / 3.099 GB, free: 169.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.265e-06/5.826, allocations: 1.5 kB / 3.099 GB, free: 169.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.873e-05/5.826, allocations: 19.78 kB / 3.099 GB, free: 169.9 MB / 0.7136 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.003176/5.829, allocations: 1.275 MB / 3.101 GB, free: 169.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/5.829, allocations: 11.7 kB / 3.101 GB, free: 169.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.785e-05/5.829, allocations: 75.64 kB / 3.101 GB, free: 169.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009556/5.83, allocations: 169.4 kB / 3.101 GB, free: 169.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/5.831, allocations: 0.7137 MB / 3.102 GB, free: 169.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/5.831, allocations: 35.95 kB / 3.102 GB, free: 169.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/5.832, allocations: 52.44 kB / 3.102 GB, free: 169.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/5.832, allocations: 450.4 kB / 3.102 GB, free: 169 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/5.832, allocations: 4 kB / 3.102 GB, free: 169 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/5.832, allocations: 14.06 kB / 3.102 GB, free: 169 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/5.833, allocations: 14.94 kB / 3.102 GB, free: 169 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007096/5.833, allocations: 359.6 kB / 3.102 GB, free: 169 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002544/5.836, allocations: 1.961 MB / 3.104 GB, free: 168.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/5.836, allocations: 361.1 kB / 3.105 GB, free: 168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/5.837, allocations: 192.8 kB / 3.105 GB, free: 167.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/5.837, allocations: 37.14 kB / 3.105 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/5.837, allocations: 0 / 3.105 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.001679/5.838, allocations: 0.6797 MB / 3.106 GB, free: 167.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/5.838, allocations: 53.94 kB / 3.106 GB, free: 167.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/5.84, allocations: 0.7727 MB / 3.106 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/5.84, allocations: 32.39 kB / 3.106 GB, free: 167.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/5.84, allocations: 339.3 kB / 3.107 GB, free: 167.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/5.84, allocations: 99.89 kB / 3.107 GB, free: 167.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/5.84, allocations: 5.406 kB / 3.107 GB, free: 167.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/5.84, allocations: 322.9 kB / 3.107 GB, free: 167 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/5.84, allocations: 135.8 kB / 3.107 GB, free: 167 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/5.841, allocations: 307.2 kB / 3.108 GB, free: 166.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/5.841, allocations: 168.5 kB / 3.108 GB, free: 166.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/5.841, allocations: 0.9062 kB / 3.108 GB, free: 166.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001057/5.842, allocations: 468.3 kB / 3.108 GB, free: 166.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/5.842, allocations: 272.5 kB / 3.108 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/5.842, allocations: 0.75 kB / 3.108 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/5.843, allocations: 41.86 kB / 3.108 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/5.843, allocations: 103.2 kB / 3.109 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005656/5.844, allocations: 1.153 MB / 3.11 GB, free: 165.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009464/5.845, allocations: 98.52 kB / 3.11 GB, free: 165.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/5.845, allocations: 19.64 kB / 3.11 GB, free: 165.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/5.845, allocations: 3.781 kB / 3.11 GB, free: 165.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008827/5.846, allocations: 368.3 kB / 3.11 GB, free: 165.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/5.846, allocations: 4.672 kB / 3.11 GB, free: 165.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/5.846, allocations: 40.03 kB / 3.11 GB, free: 165.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/5.846, allocations: 93.91 kB / 3.11 GB, free: 165.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/5.848, allocations: 1.476 MB / 3.112 GB, free: 164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/5.848, allocations: 108 kB / 3.112 GB, free: 163.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/5.848, allocations: 17.19 kB / 3.112 GB, free: 163.9 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0003849/5.849, allocations: 281.1 kB / 3.112 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/5.849, allocations: 74.09 kB / 3.112 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/5.85, allocations: 490.8 kB / 3.113 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/5.85, allocations: 3.281 kB / 3.113 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/5.85, allocations: 4.516 kB / 3.113 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/5.85, allocations: 0.75 kB / 3.113 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/5.852, allocations: 1.256 MB / 3.114 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/5.852, allocations: 1.312 kB / 3.114 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/5.853, allocations: 76.36 kB / 3.114 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/5.853, allocations: 43.98 kB / 3.114 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/5.853, allocations: 12.06 kB / 3.114 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003988/5.853, allocations: 1.148 MB / 3.115 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.853, allocations: 1.594 kB / 3.115 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/5.854, allocations: 0.8211 MB / 3.116 GB, free: 161.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/5.855, allocations: 226.1 kB / 3.116 GB, free: 161.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/5.855, allocations: 8.25 kB / 3.116 GB, free: 161.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/5.856, allocations: 61.75 kB / 3.116 GB, free: 161.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/5.856, allocations: 25.66 kB / 3.116 GB, free: 161.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/5.856, allocations: 17.42 kB / 3.116 GB, free: 161.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001004/5.857, allocations: 0.6283 MB / 3.117 GB, free: 161.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/5.857, allocations: 0 / 3.117 GB, free: 161.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001694/5.858, allocations: 429.4 kB / 3.117 GB, free: 161.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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.003429/5.862, allocations: 2.897 MB / 3.12 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00158/5.864, allocations: 0.6489 MB / 3.121 GB, free: 160 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/5.864, allocations: 0 / 3.121 GB, free: 160 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004593/5.864, allocations: 194.7 kB / 3.121 GB, free: 160 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/5.865, allocations: 301.1 kB / 3.121 GB, free: 160 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00747/5.873, allocations: 4.755 MB / 3.126 GB, free: 158.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/5.873, allocations: 0.959 MB / 3.127 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008954/5.874, allocations: 171.2 kB / 3.127 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/5.875, allocations: 259 kB / 3.127 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/5.875, allocations: 3.781 kB / 3.127 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06871/5.943, allocations: 38.03 MB / 3.164 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/5.944, allocations: 279.2 kB / 3.165 GB, free: 156.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/9.2, allocations: 3.188 kB / 3.165 GB, free: 156.7 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)