Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",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.7588/0.7588, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001457/0.001457, allocations: 177.1 kB / 164.7 MB, free: 11.58 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.891/1.891, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.001045/0.001045, allocations: 97.88 kB / 476.7 MB, free: 1.5 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.67e-05/4.663e-05, allocations: 2.344 kB / 0.5467 GB, free: 95.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 76.77 MB / 0.6216 GB, free: 42.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8783/1.084, allocations: 373.9 MB / 0.9868 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.085, allocations: 106.8 kB / 0.9869 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.525/2.61, allocations: 350.1 MB / 1.329 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.776e-06/2.61, allocations: 0 / 1.329 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001086/2.61, allocations: 32.11 kB / 1.329 GB, free: 148.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002442/2.613, allocations: 1.449 MB / 1.33 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/2.613, allocations: 8.062 kB / 1.33 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/2.613, allocations: 135.1 kB / 1.33 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007547/2.621, allocations: 3.526 MB / 1.334 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/2.621, allocations: 23.56 kB / 1.334 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/2.621, allocations: 43.06 kB / 1.334 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009645/2.622, allocations: 0.537 MB / 1.334 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/2.623, allocations: 0.7172 MB / 1.335 GB, free: 147.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/2.623, allocations: 3.938 kB / 1.335 GB, free: 147.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/2.623, allocations: 3.406 kB / 1.335 GB, free: 147.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/2.623, allocations: 17.56 kB / 1.335 GB, free: 147.2 MB / 0.6511 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.004015/2.627, allocations: 3.289 MB / 1.338 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/2.628, allocations: 394.6 kB / 1.339 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/2.628, allocations: 261.9 kB / 1.339 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/2.628, allocations: 0.6077 MB / 1.34 GB, free: 145 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/2.629, allocations: 34.19 kB / 1.34 GB, free: 145 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/2.629, allocations: 2.969 kB / 1.34 GB, free: 145 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001334/2.63, allocations: 0.6236 MB / 1.34 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/2.63, allocations: 139.7 kB / 1.34 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009476/2.631, allocations: 0.8036 MB / 1.341 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/2.631, allocations: 29.64 kB / 1.341 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/2.631, allocations: 0.5004 MB / 1.342 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/2.631, allocations: 114.3 kB / 1.342 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/2.631, allocations: 3.719 kB / 1.342 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/2.632, allocations: 326.2 kB / 1.342 GB, free: 144 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/2.632, allocations: 307.2 kB / 1.342 GB, free: 144 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/2.632, allocations: 449.8 kB / 1.343 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/2.633, allocations: 388.6 kB / 1.343 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/2.633, allocations: 3.125 kB / 1.343 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001313/2.634, allocations: 0.8819 MB / 1.344 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003356/2.635, allocations: 1.481 MB / 1.345 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/2.635, allocations: 3.875 kB / 1.345 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/2.635, allocations: 11.2 kB / 1.345 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/2.635, allocations: 99.41 kB / 1.346 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/2.635, allocations: 14.75 kB / 1.346 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/2.636, allocations: 84.14 kB / 1.346 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/2.636, allocations: 36.14 kB / 1.346 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/2.636, allocations: 6.812 kB / 1.346 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001295/2.637, allocations: 0.8367 MB / 1.347 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/2.637, allocations: 3.969 kB / 1.347 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/2.637, allocations: 9.562 kB / 1.347 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/2.638, allocations: 98.36 kB / 1.347 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/2.638, allocations: 10.56 kB / 1.347 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/2.638, allocations: 69.45 kB / 1.347 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/2.638, allocations: 30.42 kB / 1.347 GB, free: 142.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002023/2.638, allocations: 211.5 kB / 1.347 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009927/2.639, allocations: 0.6312 MB / 1.348 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/2.64, allocations: 95.48 kB / 1.348 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/2.641, allocations: 0.7087 MB / 1.348 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/2.641, allocations: 3.562 kB / 1.348 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.641, allocations: 0 / 1.348 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008013/2.642, allocations: 0.7816 MB / 1.349 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/2.644, allocations: 1.776 MB / 1.351 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/2.644, allocations: 3.656 kB / 1.351 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/2.645, allocations: 60.14 kB / 1.351 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/2.645, allocations: 6.594 kB / 1.351 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/2.645, allocations: 11.72 kB / 1.351 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/2.645, allocations: 6.219 kB / 1.351 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/2.645, allocations: 5.875 kB / 1.351 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/2.646, allocations: 1.223 MB / 1.352 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/2.646, allocations: 266.2 kB / 1.352 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/2.646, allocations: 11.78 kB / 1.352 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/2.647, allocations: 36.97 kB / 1.352 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/2.647, allocations: 49.27 kB / 1.352 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/2.647, allocations: 19.03 kB / 1.353 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000745/2.648, allocations: 0.6372 MB / 1.353 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/2.648, allocations: 0 / 1.353 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001803/2.65, allocations: 0.5893 MB / 1.354 GB, free: 138.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003379/2.653, allocations: 2.98 MB / 1.357 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001819/2.655, allocations: 1.824 MB / 1.358 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/2.655, allocations: 3.688 kB / 1.358 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/2.655, allocations: 452.8 kB / 1.359 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/2.657, allocations: 404.4 kB / 1.359 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/2.661, allocations: 1.71 MB / 1.361 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/2.661, allocations: 1.09 MB / 1.362 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001078/2.663, allocations: 285.9 kB / 1.362 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/2.663, allocations: 369 kB / 1.363 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/2.663, allocations: 0 / 1.363 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06121/2.724, allocations: 30.19 MB / 1.392 GB, free: 117 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/2.724, allocations: 198.6 kB / 1.392 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/5.749, allocations: 4 kB / 1.392 GB, free: 116.7 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)