Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_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.0007492/0.0007492, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004367/0.004367, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9223/0.9223, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 16.97 kB / 0.5077 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 82.31 MB / 0.5881 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002124/0.151, allocations: 1.769 MB / 0.5898 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1526, allocations: 1.197 MB / 0.591 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.1527, allocations: 4 kB / 0.591 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.153, allocations: 99.83 kB / 0.5911 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.539e-05/0.1531, allocations: 39.7 kB / 0.5911 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.1537, allocations: 203.7 kB / 0.5913 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.1539, allocations: 263.2 kB / 0.5916 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1541, allocations: 98.95 kB / 0.5917 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.1542, allocations: 79.64 kB / 0.5917 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1543, allocations: 99.53 kB / 0.5918 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.1543, allocations: 8 kB / 0.5918 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.1546, allocations: 207.7 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.1547, allocations: 75.73 kB / 0.5921 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1548, allocations: 148.9 kB / 0.5923 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.1553, allocations: 0.5217 MB / 0.5928 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1553, allocations: 0 / 0.5928 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1553, allocations: 0 / 0.5928 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1553, allocations: 0 / 0.5928 GB, free: 13.66 MB / 0.4981 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.0009624/0.1563, allocations: 0.7661 MB / 0.5935 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1564, allocations: 8.031 kB / 0.5935 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.1564, allocations: 50.73 kB / 0.5936 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.1565, allocations: 32.56 kB / 0.5936 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1568, allocations: 332.3 kB / 0.5939 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1569, allocations: 12.66 kB / 0.5939 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.1569, allocations: 23.94 kB / 0.594 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.1575, allocations: 306.9 kB / 0.5942 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.1575, allocations: 3.938 kB / 0.5943 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.1576, allocations: 15.88 kB / 0.5943 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1576, allocations: 4 kB / 0.5943 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.1582, allocations: 300.4 kB / 0.5946 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008895/0.1591, allocations: 0.6797 MB / 0.5952 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.1597, allocations: 246.6 kB / 0.5955 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.1601, allocations: 204.7 kB / 0.5957 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1601, allocations: 4 kB / 0.5957 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1601, allocations: 30.56 kB / 0.5957 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1601, allocations: 0 / 0.5957 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001367/0.1615, allocations: 0.7247 MB / 0.5964 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.1616, allocations: 136.5 kB / 0.5965 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.162, allocations: 384.5 kB / 0.5969 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.162, allocations: 29.7 kB / 0.5969 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1622, allocations: 168.3 kB / 0.5971 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.1622, allocations: 43.36 kB / 0.5971 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.1623, allocations: 29.7 kB / 0.5971 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1624, allocations: 342.8 kB / 0.5975 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.1629, allocations: 259.8 kB / 0.5977 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.1634, allocations: 255.1 kB / 0.598 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.1643, allocations: 0.703 MB / 0.5987 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1643, allocations: 4 kB / 0.5987 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001091/0.1654, allocations: 0.7648 MB / 0.5994 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.1655, allocations: 186.1 kB / 0.5996 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1655, allocations: 0 / 0.5996 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1656, allocations: 4 kB / 0.5996 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1657, allocations: 35.97 kB / 0.5996 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1658, allocations: 4 kB / 0.5996 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.166, allocations: 51.73 kB / 0.5997 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.166, allocations: 15.94 kB / 0.5997 GB, free: 6.148 MB / 0.4981 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.00021/0.1662, allocations: 262.8 kB / 0.5999 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.1663, allocations: 31.62 kB / 0.6 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.1663, allocations: 26.94 kB / 0.6 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.1663, allocations: 4 kB / 0.6 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1664, allocations: 0 / 0.6 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1664, allocations: 0 / 0.6 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.1667, allocations: 349.2 kB / 0.6003 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1667, allocations: 4 kB / 0.6003 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1669, allocations: 35.97 kB / 0.6004 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1669, allocations: 0 / 0.6004 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1669, allocations: 8 kB / 0.6004 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1669, allocations: 8 kB / 0.6004 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1669, allocations: 3.938 kB / 0.6004 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/0.1679, allocations: 0.6476 MB / 0.601 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.168, allocations: 116.7 kB / 0.6011 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.168, allocations: 8 kB / 0.6011 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.1683, allocations: 35.97 kB / 0.6012 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1684, allocations: 27.97 kB / 0.6012 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1684, allocations: 8 kB / 0.6012 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002722/0.1687, allocations: 279 kB / 0.6015 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1687, allocations: 3.938 kB / 0.6015 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004168/0.1691, allocations: 103.9 kB / 0.6016 GB, free: 4.078 MB / 0.4981 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.001409/0.1705, allocations: 1.248 MB / 0.6028 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.1717, allocations: 0.8712 MB / 0.6036 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1717, allocations: 0 / 0.6036 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.1722, allocations: 394 kB / 0.604 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.1727, allocations: 75.22 kB / 0.6041 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2472/0.4199, allocations: 4.573 MB / 0.6086 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.4201, allocations: 0.7868 MB / 0.6093 GB, free: 47.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.301e-05/0.4202, allocations: 21.3 kB / 0.6093 GB, free: 47.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4203, allocations: 95.16 kB / 0.6094 GB, free: 47.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.4203, allocations: 0 / 0.6094 GB, free: 47.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4612/0.8815, allocations: 7.934 MB / 0.6172 GB, free: 47.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.8817, allocations: 227.9 kB / 0.6174 GB, free: 46.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.647, allocations: 4.359 kB / 0.6174 GB, free: 46.87 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)