Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.007171/0.007171, allocations: 101.7 kB / 15.73 MB, free: 5.609 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.001823/0.001823, allocations: 193.9 kB / 16.67 MB, free: 5.527 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8011/0.8011, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 63.88 kB / 0.5857 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1389, allocations: 81.03 MB / 0.6649 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003172/0.1421, allocations: 2.111 MB / 0.6669 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1437, allocations: 1.033 MB / 0.6679 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.1438, allocations: 7.938 kB / 0.668 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.88e-05/0.1439, allocations: 27.66 kB / 0.668 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.1442, allocations: 79.23 kB / 0.6681 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.1446, allocations: 199.4 kB / 0.6682 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.1449, allocations: 286.9 kB / 0.6685 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.145, allocations: 76.77 kB / 0.6686 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1452, allocations: 111.5 kB / 0.6687 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1454, allocations: 139.4 kB / 0.6688 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.1455, allocations: 16 kB / 0.6688 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.1459, allocations: 299.7 kB / 0.6691 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.146, allocations: 55.69 kB / 0.6692 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1461, allocations: 119.3 kB / 0.6693 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1465, allocations: 330.5 kB / 0.6696 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1465, allocations: 0 / 0.6696 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1465, allocations: 0 / 0.6696 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1465, allocations: 0 / 0.6696 GB, free: 0.8398 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001053/0.1476, allocations: 0.6307 MB / 0.6702 GB, free: 164 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1476, allocations: 13.11 kB / 0.6702 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.1477, allocations: 50.67 kB / 0.6703 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.1479, allocations: 44.73 kB / 0.6703 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.1482, allocations: 283.7 kB / 0.6706 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.1483, allocations: 20.34 kB / 0.6706 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1483, allocations: 12 kB / 0.6706 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.1488, allocations: 229.2 kB / 0.6709 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1489, allocations: 0 / 0.6709 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1489, allocations: 8 kB / 0.6709 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1489, allocations: 7.938 kB / 0.6709 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.1496, allocations: 202.5 kB / 0.6711 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1507, allocations: 0.9345 MB / 0.672 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.1515, allocations: 237.2 kB / 0.6722 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.1518, allocations: 113.6 kB / 0.6723 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1518, allocations: 0 / 0.6723 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1519, allocations: 38.56 kB / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.1519, allocations: 3.938 kB / 0.6724 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001142/0.153, allocations: 338.1 kB / 0.6727 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.1531, allocations: 85.11 kB / 0.6728 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1534, allocations: 263 kB / 0.673 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1534, allocations: 29.7 kB / 0.673 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1535, allocations: 160.3 kB / 0.6732 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.1536, allocations: 63.47 kB / 0.6732 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.1537, allocations: 37.7 kB / 0.6733 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1538, allocations: 346.7 kB / 0.6736 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.1542, allocations: 91.91 kB / 0.6737 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.1545, allocations: 141.9 kB / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/0.1552, allocations: 241.8 kB / 0.6741 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1552, allocations: 0 / 0.6741 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008325/0.1561, allocations: 297.1 kB / 0.6744 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1561, allocations: 4 kB / 0.6744 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1561, allocations: 4 kB / 0.6744 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1561, allocations: 0 / 0.6744 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.1564, allocations: 72.02 kB / 0.6744 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1564, allocations: 4 kB / 0.6744 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.1567, allocations: 35.86 kB / 0.6745 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1567, allocations: 8 kB / 0.6745 GB, free: 11.55 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001197/0.1568, allocations: 133.7 kB / 0.6746 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1569, allocations: 27.81 kB / 0.6746 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008314/0.1578, allocations: 291.3 kB / 0.6749 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1578, allocations: 4.094 kB / 0.6749 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1578, allocations: 3.938 kB / 0.6749 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1578, allocations: 7.984 kB / 0.6749 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.1582, allocations: 301.3 kB / 0.6752 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1582, allocations: 4 kB / 0.6752 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1585, allocations: 47.95 kB / 0.6753 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1585, allocations: 4 kB / 0.6753 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1585, allocations: 4 kB / 0.6753 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1585, allocations: 0 / 0.6753 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1585, allocations: 3.938 kB / 0.6753 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.1594, allocations: 444.3 kB / 0.6757 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.1595, allocations: 108.9 kB / 0.6758 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1595, allocations: 11.94 kB / 0.6758 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.1598, allocations: 31.95 kB / 0.6758 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.1598, allocations: 15.98 kB / 0.6759 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1599, allocations: 4 kB / 0.6759 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001813/0.16, allocations: 190 kB / 0.676 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.16, allocations: 0 / 0.676 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003406/0.1604, allocations: 59.88 kB / 0.6761 GB, free: 9.781 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.001255/0.1617, allocations: 0.9886 MB / 0.6771 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007513/0.1624, allocations: 234.1 kB / 0.6773 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1624, allocations: 0 / 0.6773 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.1628, allocations: 116.2 kB / 0.6774 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.1633, allocations: 73.27 kB / 0.6775 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.1674, allocations: 2.709 MB / 0.6801 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1678, allocations: 0.7558 MB / 0.6808 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.168, allocations: 30.28 kB / 0.6809 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.1681, allocations: 87.41 kB / 0.681 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1681, allocations: 0 / 0.681 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/0.4989, allocations: 6.545 MB / 0.6874 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.015/9.514, allocations: 9.359 kB / 0.6874 GB, free: 14.24 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)