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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9574/0.9574, allocations: 175.7 MB / 480.1 MB, free: 2.789 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 73.27 kB / 0.6678 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1522, allocations: 94.53 MB / 0.7601 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002932/0.1552, allocations: 2.135 MB / 0.7622 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1566, allocations: 1.067 MB / 0.7632 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.1567, allocations: 7.938 kB / 0.7632 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.1568, allocations: 23.73 kB / 0.7632 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.157, allocations: 83.22 kB / 0.7633 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1574, allocations: 191.5 kB / 0.7635 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.1577, allocations: 294.8 kB / 0.7638 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1578, allocations: 44.72 kB / 0.7638 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.158, allocations: 107.6 kB / 0.7639 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1582, allocations: 135.4 kB / 0.7641 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.1582, allocations: 16 kB / 0.7641 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.1586, allocations: 299.6 kB / 0.7644 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1587, allocations: 59.69 kB / 0.7644 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1588, allocations: 119.3 kB / 0.7645 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.1592, allocations: 330.6 kB / 0.7648 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1592, allocations: 0 / 0.7648 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1592, allocations: 4 kB / 0.7649 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1592, allocations: 0 / 0.7649 GB, free: 12.05 MB / 0.5762 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.001019/0.1602, allocations: 0.6345 MB / 0.7655 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1602, allocations: 12.02 kB / 0.7655 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.1603, allocations: 46.69 kB / 0.7655 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.1605, allocations: 44.73 kB / 0.7656 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1608, allocations: 295.7 kB / 0.7659 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1608, allocations: 16.41 kB / 0.7659 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1609, allocations: 19.94 kB / 0.7659 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.1614, allocations: 229.2 kB / 0.7661 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1614, allocations: 0 / 0.7661 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1614, allocations: 4 kB / 0.7661 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1614, allocations: 4 kB / 0.7661 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.162, allocations: 207.7 kB / 0.7663 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.1631, allocations: 0.9307 MB / 0.7672 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.1639, allocations: 233.2 kB / 0.7674 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.1642, allocations: 105.6 kB / 0.7675 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1642, allocations: 4 kB / 0.7675 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1642, allocations: 30.88 kB / 0.7676 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.1642, allocations: 0 / 0.7676 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.00114/0.1654, allocations: 341.2 kB / 0.7679 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1654, allocations: 81.11 kB / 0.768 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.1657, allocations: 267 kB / 0.7682 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1657, allocations: 25.7 kB / 0.7683 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1658, allocations: 172.2 kB / 0.7684 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.1659, allocations: 51.59 kB / 0.7685 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.1659, allocations: 45.66 kB / 0.7685 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1661, allocations: 338.8 kB / 0.7688 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.1664, allocations: 91.91 kB / 0.7689 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.1668, allocations: 141.8 kB / 0.7691 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.1674, allocations: 242.4 kB / 0.7693 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1674, allocations: 0 / 0.7693 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008072/0.1682, allocations: 301.1 kB / 0.7696 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1682, allocations: 8 kB / 0.7696 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1682, allocations: 0 / 0.7696 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1683, allocations: 4 kB / 0.7696 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.1685, allocations: 59.88 kB / 0.7696 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1685, allocations: 4 kB / 0.7697 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.1688, allocations: 47.88 kB / 0.7697 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1688, allocations: 12 kB / 0.7697 GB, free: 6.738 MB / 0.5762 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.0001162/0.1689, allocations: 137.7 kB / 0.7698 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.169, allocations: 31.84 kB / 0.7699 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/0.1698, allocations: 283.2 kB / 0.7701 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1698, allocations: 7.984 kB / 0.7701 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1698, allocations: 0 / 0.7701 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1698, allocations: 4 kB / 0.7702 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.1702, allocations: 293.4 kB / 0.7704 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1702, allocations: 7.984 kB / 0.7704 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.1704, allocations: 47.95 kB / 0.7705 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1704, allocations: 4 kB / 0.7705 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1704, allocations: 4 kB / 0.7705 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1704, allocations: 4 kB / 0.7705 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1704, allocations: 7.922 kB / 0.7705 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.1713, allocations: 440.1 kB / 0.7709 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.1714, allocations: 108.9 kB / 0.771 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1714, allocations: 3.984 kB / 0.771 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.1716, allocations: 31.97 kB / 0.7711 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.1717, allocations: 19.97 kB / 0.7711 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1717, allocations: 4.281 kB / 0.7711 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001831/0.1719, allocations: 190 kB / 0.7713 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1719, allocations: 0 / 0.7713 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000322/0.1722, allocations: 63.88 kB / 0.7713 GB, free: 4.977 MB / 0.5762 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.001189/0.1734, allocations: 0.9963 MB / 0.7723 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000718/0.1741, allocations: 219.9 kB / 0.7725 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1741, allocations: 4.062 kB / 0.7725 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.1745, allocations: 103.9 kB / 0.7726 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.175, allocations: 81.78 kB / 0.7727 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.1788, allocations: 2.711 MB / 0.7753 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1791, allocations: 0.7519 MB / 0.7761 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.1792, allocations: 22.3 kB / 0.7761 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1794, allocations: 91.41 kB / 0.7762 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.1794, allocations: 0 / 0.7762 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.2082, allocations: 6.582 MB / 0.7826 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/7.624, allocations: 13.95 kB / 0.7826 GB, free: 9.395 MB / 0.5919 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.960577908001142]