Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8032/0.8032, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.001041, allocations: 170.6 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 426.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008056/0.0008056, allocations: 94.34 kB / 0.4945 GB, free: 8.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001661/0.001661, allocations: 265.4 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004851, allocations: 20 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.365, allocations: 79.28 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4977, allocations: 111.6 MB / 0.8484 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.498, allocations: 107.9 kB / 0.8485 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01989/0.5179, allocations: 6.905 MB / 0.8553 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5179, allocations: 0 / 0.8553 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.518, allocations: 12 kB / 0.8553 GB, free: 7.633 MB / 0.5261 GB 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.001013/0.519, allocations: 0.7818 MB / 0.856 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.519, allocations: 8.031 kB / 0.856 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.5191, allocations: 32.56 kB / 0.8561 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.5195, allocations: 324.1 kB / 0.8564 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.5195, allocations: 12.66 kB / 0.8564 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.5196, allocations: 16.38 kB / 0.8564 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.5202, allocations: 315.2 kB / 0.8567 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5202, allocations: 4.188 kB / 0.8567 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.5203, allocations: 7.938 kB / 0.8567 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.5203, allocations: 7.938 kB / 0.8567 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.5209, allocations: 312.3 kB / 0.857 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.5221, allocations: 0.7348 MB / 0.8577 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.5227, allocations: 254.6 kB / 0.858 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.5231, allocations: 204.7 kB / 0.8582 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.5231, allocations: 4 kB / 0.8582 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5232, allocations: 34.5 kB / 0.8582 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.5232, allocations: 0 / 0.8582 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.00134/0.5245, allocations: 0.7148 MB / 0.8589 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.5246, allocations: 144.5 kB / 0.8591 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.525, allocations: 372.5 kB / 0.8594 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.5251, allocations: 33.7 kB / 0.8594 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5252, allocations: 169.2 kB / 0.8596 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.5253, allocations: 39.38 kB / 0.8596 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.5253, allocations: 112 / 0.8596 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5254, allocations: 346.7 kB / 0.86 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.5259, allocations: 247.9 kB / 0.8602 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.5263, allocations: 257.9 kB / 0.8605 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.5273, allocations: 0.7066 MB / 0.8611 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5273, allocations: 7.938 kB / 0.8612 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00114/0.5285, allocations: 0.7494 MB / 0.8619 GB, free: 488 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.5286, allocations: 187.3 kB / 0.8621 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5286, allocations: 0 / 0.8621 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5286, allocations: 4 kB / 0.8621 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.5288, allocations: 39.91 kB / 0.8621 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5289, allocations: 3.938 kB / 0.8621 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.5291, allocations: 51.8 kB / 0.8622 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.5291, allocations: 20 kB / 0.8622 GB, free: 144 kB / 0.5261 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 () * Number of clocked 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.0002279/0.5294, allocations: 258.8 kB / 0.8624 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.5294, allocations: 31.62 kB / 0.8625 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.5295, allocations: 30.94 kB / 0.8625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5295, allocations: 0 / 0.8625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5295, allocations: 4 kB / 0.8625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5295, allocations: 0 / 0.8625 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.5299, allocations: 357.2 kB / 0.8628 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5299, allocations: 0 / 0.8628 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.5301, allocations: 39.97 kB / 0.8629 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5301, allocations: 0 / 0.8629 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.5301, allocations: 4 kB / 0.8629 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5301, allocations: 4 kB / 0.8629 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5301, allocations: 0 / 0.8629 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.5312, allocations: 0.6573 MB / 0.8635 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.5312, allocations: 108.7 kB / 0.8636 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.5313, allocations: 8 kB / 0.8636 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.5316, allocations: 39.95 kB / 0.8637 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.5317, allocations: 27.97 kB / 0.8637 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.5317, allocations: 8 kB / 0.8637 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002984/0.532, allocations: 267 kB / 0.864 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.532, allocations: 0 / 0.864 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006827/0.5327, allocations: 123.8 kB / 0.8641 GB, free: 14.07 MB / 0.5417 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) * Number of clocked states: 0 () * 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.0005211/0.5332, allocations: 293.6 kB / 0.8644 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.5348, allocations: 0.8594 MB / 0.8652 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5348, allocations: 3.938 kB / 0.8652 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.5356, allocations: 398 kB / 0.8656 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.5363, allocations: 77.25 kB / 0.8656 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.5377, allocations: 0.7061 MB / 0.8663 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.5382, allocations: 0.7831 MB / 0.8671 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.5383, allocations: 21.95 kB / 0.8671 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.5384, allocations: 15.44 kB / 0.8671 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/0.5384, allocations: 0 / 0.8671 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.01538/0.5538, allocations: 6.58 MB / 0.8736 GB, free: 4.238 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)