Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 206.7 kB / 16.79 MB, free: 6.84 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.201/1.201, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6183/0.6183, allocations: 115.3 MB / 405.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 65.64 kB / 493 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1124, allocations: 76.18 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002738/0.1152, allocations: 2.129 MB / 0.5579 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1167, allocations: 1.212 MB / 0.5591 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.1168, allocations: 4 kB / 0.5591 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1171, allocations: 99.53 kB / 0.5592 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.1172, allocations: 39.7 kB / 0.5593 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.1177, allocations: 206.8 kB / 0.5595 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1179, allocations: 259.3 kB / 0.5597 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1181, allocations: 99.25 kB / 0.5598 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.1181, allocations: 95.56 kB / 0.5599 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1183, allocations: 115.5 kB / 0.56 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.1183, allocations: 16 kB / 0.56 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.1186, allocations: 199.7 kB / 0.5602 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.1187, allocations: 83.73 kB / 0.5603 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.1188, allocations: 135.2 kB / 0.5604 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.1192, allocations: 0.5335 MB / 0.5609 GB, free: 5.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1192, allocations: 4 kB / 0.5609 GB, free: 5.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1192, allocations: 0 / 0.5609 GB, free: 5.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1193, allocations: 0 / 0.5609 GB, free: 5.527 MB / 430.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.0009286/0.1202, allocations: 0.801 MB / 0.5617 GB, free: 4.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1202, allocations: 8.031 kB / 0.5617 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.1203, allocations: 54.73 kB / 0.5618 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.1203, allocations: 36.47 kB / 0.5618 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.1207, allocations: 320.4 kB / 0.5621 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1207, allocations: 12.66 kB / 0.5621 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.1207, allocations: 32.3 kB / 0.5622 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.1212, allocations: 287 kB / 0.5624 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1213, allocations: 4 kB / 0.5624 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1213, allocations: 16 kB / 0.5625 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1213, allocations: 7.938 kB / 0.5625 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.1219, allocations: 264.4 kB / 0.5627 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.1227, allocations: 0.6755 MB / 0.5634 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.1232, allocations: 230.6 kB / 0.5636 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.1236, allocations: 192.7 kB / 0.5638 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1236, allocations: 0 / 0.5638 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1236, allocations: 38.56 kB / 0.5638 GB, free: 2.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1236, allocations: 0 / 0.5638 GB, free: 2.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.001177/0.1248, allocations: 0.6701 MB / 0.5645 GB, free: 1.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.1249, allocations: 144.5 kB / 0.5646 GB, free: 1.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.1252, allocations: 380.4 kB / 0.565 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1252, allocations: 29.7 kB / 0.565 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.1253, allocations: 164.3 kB / 0.5652 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.1254, allocations: 43.45 kB / 0.5652 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.1255, allocations: 41.7 kB / 0.5652 GB, free: 0.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1256, allocations: 346.7 kB / 0.5656 GB, free: 496 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.126, allocations: 239.9 kB / 0.5658 GB, free: 256 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.1263, allocations: 235.8 kB / 0.566 GB, free: 20 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.1272, allocations: 0.6856 MB / 0.5667 GB, free: 15.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1272, allocations: 0 / 0.5667 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009376/0.1281, allocations: 0.7288 MB / 0.5674 GB, free: 14.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/0.1282, allocations: 182.3 kB / 0.5676 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1282, allocations: 7.938 kB / 0.5676 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.1282, allocations: 4 kB / 0.5676 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1284, allocations: 27.97 kB / 0.5676 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1284, allocations: 0 / 0.5676 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.1286, allocations: 47.66 kB / 0.5677 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.1286, allocations: 11.98 kB / 0.5677 GB, free: 14.19 MB / 446.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.0001755/0.1288, allocations: 262.8 kB / 0.5679 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.1289, allocations: 27.72 kB / 0.5679 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.1289, allocations: 26.94 kB / 0.568 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1289, allocations: 0 / 0.568 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1289, allocations: 4 kB / 0.568 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1289, allocations: 3.984 kB / 0.568 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1292, allocations: 341.3 kB / 0.5683 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1292, allocations: 3.938 kB / 0.5683 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1294, allocations: 31.97 kB / 0.5683 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1294, allocations: 4 kB / 0.5683 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1294, allocations: 7.938 kB / 0.5684 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1294, allocations: 4 kB / 0.5684 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1294, allocations: 3.984 kB / 0.5684 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008431/0.1303, allocations: 0.624 MB / 0.569 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.1304, allocations: 108.7 kB / 0.5691 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.1304, allocations: 7.984 kB / 0.5691 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1306, allocations: 35.97 kB / 0.5691 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.1307, allocations: 27.95 kB / 0.5691 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1307, allocations: 4 kB / 0.5691 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.131, allocations: 283 kB / 0.5694 GB, free: 12.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.131, allocations: 4 kB / 0.5694 GB, free: 12.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.1313, allocations: 99.94 kB / 0.5695 GB, free: 12.18 MB / 446.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.001216/0.1325, allocations: 1.217 MB / 0.5707 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009927/0.1335, allocations: 0.8282 MB / 0.5715 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1336, allocations: 0 / 0.5715 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.134, allocations: 386.9 kB / 0.5719 GB, free: 9.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1344, allocations: 57.41 kB / 0.5719 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.1394, allocations: 4.497 MB / 0.5763 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1397, allocations: 0.7791 MB / 0.5771 GB, free: 4.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1398, allocations: 29.94 kB / 0.5771 GB, free: 4.094 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1399, allocations: 87.41 kB / 0.5772 GB, free: 4.008 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1399, allocations: 0 / 0.5772 GB, free: 4.008 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6314/0.7713, allocations: 8.011 MB / 0.585 GB, free: 31.77 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.7715, allocations: 239.5 kB / 0.5853 GB, free: 31.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.613, allocations: 2.594 kB / 0.5853 GB, free: 31.52 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)