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.005228/0.005228, allocations: 95.8 kB / 15.73 MB, free: 6.039 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.001442/0.001442, allocations: 203.2 kB / 16.68 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002417, allocations: 290.5 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 99.91 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1449, allocations: 86.96 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003161/0.1481, allocations: 2.093 MB / 0.768 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1499, allocations: 1.173 MB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.15, allocations: 11.94 kB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.1503, allocations: 111.6 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.1504, allocations: 43.59 kB / 0.7693 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.151, allocations: 262.9 kB / 0.7695 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.1514, allocations: 311.3 kB / 0.7698 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1515, allocations: 106.7 kB / 0.7699 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1517, allocations: 111.7 kB / 0.77 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1519, allocations: 127.5 kB / 0.7701 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.1519, allocations: 28 kB / 0.7702 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.1523, allocations: 235.6 kB / 0.7704 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.1524, allocations: 83.73 kB / 0.7705 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.1525, allocations: 155.2 kB / 0.7706 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.1531, allocations: 0.5527 MB / 0.7712 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1531, allocations: 0 / 0.7712 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1531, allocations: 0 / 0.7712 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1531, allocations: 0 / 0.7712 GB, free: 3.551 MB / 0.5606 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.001105/0.1542, allocations: 0.8278 MB / 0.772 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1543, allocations: 8.031 kB / 0.772 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.1543, allocations: 50.73 kB / 0.772 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.1544, allocations: 32.75 kB / 0.7721 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.1548, allocations: 328.5 kB / 0.7724 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1548, allocations: 12.66 kB / 0.7724 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.1549, allocations: 24.38 kB / 0.7724 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.1554, allocations: 291.7 kB / 0.7727 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1554, allocations: 0 / 0.7727 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.1555, allocations: 8 kB / 0.7727 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1555, allocations: 7.938 kB / 0.7727 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.1561, allocations: 272.4 kB / 0.773 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.157, allocations: 0.6681 MB / 0.7736 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.1575, allocations: 230.6 kB / 0.7738 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.1579, allocations: 188.7 kB / 0.774 GB, free: 440 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1579, allocations: 4 kB / 0.774 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1579, allocations: 34.56 kB / 0.774 GB, free: 392 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.158, allocations: 0 / 0.774 GB, free: 392 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.2477/0.4056, allocations: 0.6647 MB / 0.7747 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.4057, allocations: 139 kB / 0.7748 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.4061, allocations: 384.8 kB / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4061, allocations: 28.36 kB / 0.7752 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.4062, allocations: 167.5 kB / 0.7754 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.4062, allocations: 44.83 kB / 0.7754 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.4063, allocations: 45.06 kB / 0.7755 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.4064, allocations: 344.1 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.4068, allocations: 238.6 kB / 0.776 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.4072, allocations: 239 kB / 0.7762 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.4079, allocations: 0.6795 MB / 0.7769 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4079, allocations: 0.75 kB / 0.7769 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009037/0.4088, allocations: 0.7365 MB / 0.7776 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.631e-05/0.4089, allocations: 187.9 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4089, allocations: 2.188 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4089, allocations: 1.188 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4091, allocations: 28.31 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4091, allocations: 0.8125 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.4093, allocations: 45.58 kB / 0.7779 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.4093, allocations: 11.78 kB / 0.7779 GB, free: 13.5 MB / 0.5606 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.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.0001461/0.4095, allocations: 256.8 kB / 0.7781 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.4095, allocations: 39.47 kB / 0.7782 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.4096, allocations: 31.88 kB / 0.7782 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4096, allocations: 3.672 kB / 0.7782 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4096, allocations: 3.281 kB / 0.7782 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4096, allocations: 1.625 kB / 0.7782 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.4099, allocations: 349.9 kB / 0.7786 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4099, allocations: 0.7031 kB / 0.7786 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4101, allocations: 33.86 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4101, allocations: 1.062 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.4101, allocations: 9.891 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4101, allocations: 0 / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4101, allocations: 1.25 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007665/0.4109, allocations: 0.6205 MB / 0.7792 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.4109, allocations: 114.9 kB / 0.7793 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.411, allocations: 8.266 kB / 0.7793 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.4112, allocations: 25.92 kB / 0.7793 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.4113, allocations: 25.14 kB / 0.7794 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4113, allocations: 9.375 kB / 0.7794 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002309/0.4116, allocations: 272.4 kB / 0.7796 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4116, allocations: 3.219 kB / 0.7796 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004582/0.412, allocations: 106.2 kB / 0.7797 GB, free: 12.34 MB / 0.5606 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 (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.001039/0.4131, allocations: 1.225 MB / 0.7809 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008907/0.414, allocations: 0.8355 MB / 0.7818 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.414, allocations: 0 / 0.7818 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.4144, allocations: 378.2 kB / 0.7821 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.4148, allocations: 69.91 kB / 0.7822 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.419, allocations: 4.433 MB / 0.7865 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.4192, allocations: 0.7814 MB / 0.7873 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.342e-05/0.4193, allocations: 25.75 kB / 0.7873 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.4194, allocations: 92.05 kB / 0.7874 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.4194, allocations: 3.938 kB / 0.7874 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.117/4.536, allocations: 8.745 MB / 0.7959 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/21.41, allocations: 10.28 kB / 0.7959 GB, free: 6.797 MB / 0.5606 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)