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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 191.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 298.8 kB / 290.4 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 92.88 kB / 0.5948 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.13, allocations: 86.98 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002991/0.133, allocations: 2.132 MB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1346, allocations: 1.149 MB / 0.683 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.1347, allocations: 4.562 kB / 0.683 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.135, allocations: 106.2 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.1351, allocations: 40.33 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.1357, allocations: 234.3 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.136, allocations: 319.2 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1362, allocations: 99.02 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1363, allocations: 111.6 kB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1365, allocations: 127.5 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.1365, allocations: 28 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.1368, allocations: 231.7 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1369, allocations: 87.73 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1371, allocations: 151.2 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.1376, allocations: 0.5453 MB / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1376, allocations: 0 / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1376, allocations: 0 / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1376, allocations: 0 / 0.685 GB, free: 11.6 MB / 494.1 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.00101/0.1386, allocations: 0.8087 MB / 0.6857 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1386, allocations: 12.03 kB / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.1387, allocations: 46.73 kB / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.1388, allocations: 36.47 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1391, allocations: 328.4 kB / 0.6861 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1391, allocations: 12.66 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.1392, allocations: 20.38 kB / 0.6862 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.1397, allocations: 291 kB / 0.6865 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1398, allocations: 4 kB / 0.6865 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.1398, allocations: 4 kB / 0.6865 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1398, allocations: 4 kB / 0.6865 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.1404, allocations: 280 kB / 0.6867 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.1413, allocations: 0.6719 MB / 0.6874 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.1419, allocations: 238.5 kB / 0.6876 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.1423, allocations: 188.7 kB / 0.6878 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1423, allocations: 0 / 0.6878 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1423, allocations: 34.56 kB / 0.6878 GB, free: 8.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1423, allocations: 0 / 0.6878 GB, free: 8.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001292/0.1436, allocations: 0.6779 MB / 0.6885 GB, free: 7.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1437, allocations: 140.5 kB / 0.6886 GB, free: 7.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.1441, allocations: 376.5 kB / 0.689 GB, free: 7.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1441, allocations: 29.7 kB / 0.689 GB, free: 7.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1442, allocations: 164.3 kB / 0.6892 GB, free: 7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1443, allocations: 43.36 kB / 0.6892 GB, free: 6.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.1443, allocations: 45.7 kB / 0.6893 GB, free: 6.906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1445, allocations: 346.7 kB / 0.6896 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.1449, allocations: 235.9 kB / 0.6898 GB, free: 6.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.1453, allocations: 243.8 kB / 0.69 GB, free: 6.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/0.1462, allocations: 0.6756 MB / 0.6907 GB, free: 5.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1462, allocations: 3.938 kB / 0.6907 GB, free: 5.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001032/0.1473, allocations: 0.7334 MB / 0.6914 GB, free: 4.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.91e-05/0.1474, allocations: 186.2 kB / 0.6916 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1474, allocations: 0 / 0.6916 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1474, allocations: 0 / 0.6916 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1476, allocations: 31.97 kB / 0.6916 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1476, allocations: 0 / 0.6916 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1478, allocations: 47.73 kB / 0.6917 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1478, allocations: 8 kB / 0.6917 GB, free: 4.273 MB / 494.1 MB 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.148, allocations: 256.2 kB / 0.6919 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.1481, allocations: 31.62 kB / 0.692 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.1482, allocations: 26.94 kB / 0.692 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1482, allocations: 11.94 kB / 0.692 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1482, allocations: 0 / 0.692 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1482, allocations: 3.984 kB / 0.692 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.1485, allocations: 349.2 kB / 0.6923 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1485, allocations: 0 / 0.6923 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1487, allocations: 31.97 kB / 0.6924 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1487, allocations: 0 / 0.6924 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1487, allocations: 7.984 kB / 0.6924 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1487, allocations: 0 / 0.6924 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1487, allocations: 3.938 kB / 0.6924 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/0.1497, allocations: 0.62 MB / 0.693 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.1498, allocations: 116.8 kB / 0.6931 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.1498, allocations: 4 kB / 0.6931 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.15, allocations: 31.97 kB / 0.6931 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.1501, allocations: 27.91 kB / 0.6932 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.1502, allocations: 8 kB / 0.6932 GB, free: 2.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.1504, allocations: 271 kB / 0.6934 GB, free: 2.367 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1505, allocations: 0 / 0.6934 GB, free: 2.367 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.1508, allocations: 107.9 kB / 0.6935 GB, free: 2.262 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001334/0.1522, allocations: 1.221 MB / 0.6947 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1533, allocations: 0.8398 MB / 0.6955 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1533, allocations: 0 / 0.6955 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.1538, allocations: 374.1 kB / 0.6959 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.1543, allocations: 81.25 kB / 0.696 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.1598, allocations: 4.488 MB / 0.7004 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1601, allocations: 0.7869 MB / 0.7011 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.594e-05/0.1602, allocations: 21.95 kB / 0.7011 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1603, allocations: 91.39 kB / 0.7012 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1603, allocations: 4 kB / 0.7012 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4922/0.6525, allocations: 8.303 MB / 0.7093 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.6528, allocations: 247 kB / 0.7096 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.512, allocations: 5.688 kB / 0.7096 GB, free: 1.797 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)