Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.ModificationFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.7256/0.7256, allocations: 127.4 MB / 134.9 MB, free: 3.738 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.00107/0.001069, allocations: 176.9 kB / 164.7 MB, free: 6.531 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.572/1.572, allocations: 205.2 MB / 399.5 MB, free: 5.871 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.00111/0.00111, allocations: 84.41 kB / 476.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.431e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1547, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5657/0.7205, allocations: 106.7 MB / 0.7259 GB, free: 8.664 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.7208, allocations: 96.98 kB / 0.726 GB, free: 8.605 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.741, allocations: 6.942 MB / 0.7328 GB, free: 2.734 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7411, allocations: 0 / 0.7328 GB, free: 2.734 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.7411, allocations: 12 kB / 0.7328 GB, free: 2.723 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009986/0.7421, allocations: 0.7273 MB / 0.7335 GB, free: 1.934 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7422, allocations: 12.03 kB / 0.7335 GB, free: 1.922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.7423, allocations: 39.48 kB / 0.7335 GB, free: 1.883 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.7427, allocations: 308.3 kB / 0.7338 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.7427, allocations: 4 kB / 0.7338 GB, free: 1.574 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.7427, allocations: 15.56 kB / 0.7338 GB, free: 1.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003015/0.7431, allocations: 192.8 kB / 0.734 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.7434, allocations: 230.7 kB / 0.7342 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7434, allocations: 0 / 0.7342 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.7435, allocations: 7.953 kB / 0.7343 GB, free: 1.258 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.7435, allocations: 8 kB / 0.7343 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.7446, allocations: 0.6867 MB / 0.7349 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.745, allocations: 193.8 kB / 0.7351 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.7452, allocations: 151.2 kB / 0.7353 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.7452, allocations: 0 / 0.7353 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.7453, allocations: 34.56 kB / 0.7353 GB, free: 376 kB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.7453, allocations: 4 kB / 0.7353 GB, free: 372 kB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006067/0.7459, allocations: 342.9 kB / 0.7356 GB, free: 108 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.746, allocations: 134.8 kB / 0.7358 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.7463, allocations: 304 kB / 0.736 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.7464, allocations: 29.7 kB / 0.7361 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.7465, allocations: 168.4 kB / 0.7362 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.7465, allocations: 42.92 kB / 0.7363 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.7466, allocations: 3.938 kB / 0.7363 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7467, allocations: 345.8 kB / 0.7366 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.7469, allocations: 189.7 kB / 0.7368 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.7472, allocations: 194.1 kB / 0.737 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.7475, allocations: 192.9 kB / 0.7372 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7475, allocations: 0 / 0.7372 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006716/0.7482, allocations: 481.1 kB / 0.7376 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.7483, allocations: 181.8 kB / 0.7378 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7484, allocations: 3.984 kB / 0.7378 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7484, allocations: 0 / 0.7378 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.7486, allocations: 43.91 kB / 0.7378 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7486, allocations: 0 / 0.7378 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.7488, allocations: 51.77 kB / 0.7379 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.7489, allocations: 15.12 kB / 0.7379 GB, free: 14.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * 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.0001597/0.749, allocations: 201.9 kB / 0.7381 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005206/0.7496, allocations: 364.1 kB / 0.7384 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.7496, allocations: 23.72 kB / 0.7385 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.7497, allocations: 27.83 kB / 0.7385 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.7497, allocations: 3.953 kB / 0.7385 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7497, allocations: 4 kB / 0.7385 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7497, allocations: 0 / 0.7385 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.7501, allocations: 313.1 kB / 0.7388 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7501, allocations: 4 kB / 0.7388 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.7503, allocations: 35.97 kB / 0.7388 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7503, allocations: 0 / 0.7388 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.7503, allocations: 11.92 kB / 0.7388 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.7503, allocations: 3.938 kB / 0.7388 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7503, allocations: 0 / 0.7388 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.7509, allocations: 458.8 kB / 0.7393 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.751, allocations: 104.5 kB / 0.7394 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.751, allocations: 4 kB / 0.7394 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.7513, allocations: 39.97 kB / 0.7394 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.7514, allocations: 35.06 kB / 0.7395 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.7514, allocations: 4 kB / 0.7395 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002176/0.7517, allocations: 238.3 kB / 0.7397 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7517, allocations: 0 / 0.7397 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005066/0.7522, allocations: 122.8 kB / 0.7398 GB, free: 12.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.001231/0.7534, allocations: 1.173 MB / 0.741 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007609/0.7542, allocations: 0.7471 MB / 0.7417 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7542, allocations: 3.938 kB / 0.7417 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.7545, allocations: 334.7 kB / 0.742 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.7549, allocations: 63.23 kB / 0.7421 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.756, allocations: 0.5745 MB / 0.7426 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.7564, allocations: 0.7911 MB / 0.7434 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.811e-05/0.7565, allocations: 17.86 kB / 0.7434 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.7566, allocations: 84.41 kB / 0.7435 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of SimCode: time 4.1e-07/0.7566, allocations: 0 / 0.7435 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.7875, allocations: 7.982 MB / 0.7513 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.7878, allocations: 188.9 kB / 0.7515 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.118, allocations: 0 / 0.7515 GB, free: 0.8086 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)