Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001154/0.001154, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001129/0.001129, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.273/1.273, 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.9627/0.9627, allocations: 175.7 MB / 480.1 MB, free: 2.82 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.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 72.28 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 94.52 MB / 0.7601 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002587/0.1547, allocations: 1.607 MB / 0.7616 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1561, allocations: 0.9192 MB / 0.7625 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.1561, allocations: 4 kB / 0.7625 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.1562, allocations: 3.938 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.1563, allocations: 27.78 kB / 0.7626 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1567, allocations: 143.6 kB / 0.7627 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1568, allocations: 71.66 kB / 0.7628 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.1569, allocations: 11.98 kB / 0.7628 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.157, allocations: 27.92 kB / 0.7628 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1571, allocations: 43.77 kB / 0.7629 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1571, allocations: 4 kB / 0.7629 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.1575, allocations: 287.6 kB / 0.7631 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1576, allocations: 11.94 kB / 0.7631 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1576, allocations: 35.8 kB / 0.7632 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1578, allocations: 147.5 kB / 0.7633 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1578, allocations: 0 / 0.7633 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1578, allocations: 0 / 0.7633 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1579, allocations: 0 / 0.7633 GB, free: 13.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005562/0.1584, allocations: 414.8 kB / 0.7637 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1584, allocations: 11.97 kB / 0.7637 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1585, allocations: 38.73 kB / 0.7638 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.786e-05/0.1586, allocations: 16.88 kB / 0.7638 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1588, allocations: 188.2 kB / 0.764 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1588, allocations: 12.06 kB / 0.764 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.1588, allocations: 0 / 0.764 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.159, allocations: 65.59 kB / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.159, allocations: 0 / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.159, allocations: 8 kB / 0.764 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.159, allocations: 0 / 0.764 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1591, allocations: 43.97 kB / 0.7641 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.1596, allocations: 296.8 kB / 0.7644 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1597, allocations: 50.5 kB / 0.7644 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.1598, allocations: 32.97 kB / 0.7644 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1598, allocations: 4.062 kB / 0.7645 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1598, allocations: 30.56 kB / 0.7645 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1598, allocations: 0 / 0.7645 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003505/0.1602, allocations: 109.6 kB / 0.7646 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1602, allocations: 51.41 kB / 0.7646 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1603, allocations: 147.5 kB / 0.7648 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1603, allocations: 25.7 kB / 0.7648 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.1604, allocations: 92.14 kB / 0.7649 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1604, allocations: 15.89 kB / 0.7649 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1605, allocations: 21.72 kB / 0.7649 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1606, allocations: 318.8 kB / 0.7652 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.1607, allocations: 19.98 kB / 0.7652 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1608, allocations: 23.98 kB / 0.7653 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1609, allocations: 53.2 kB / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1609, allocations: 4 kB / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002131/0.1611, allocations: 93.61 kB / 0.7654 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1611, allocations: 8 kB / 0.7654 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1611, allocations: 0 / 0.7654 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1611, allocations: 3.938 kB / 0.7654 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1612, allocations: 19.98 kB / 0.7654 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1613, allocations: 0 / 0.7654 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.1613, allocations: 11.89 kB / 0.7655 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1613, allocations: 0 / 0.7655 GB, free: 11.09 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 7.939e-05/0.1614, allocations: 117.8 kB / 0.7656 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.1614, allocations: 4 kB / 0.7656 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.1617, allocations: 101.9 kB / 0.7657 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1617, allocations: 11.88 kB / 0.7657 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1617, allocations: 0 / 0.7657 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1617, allocations: 15.86 kB / 0.7657 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1619, allocations: 173.6 kB / 0.7659 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1619, allocations: 0 / 0.7659 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.162, allocations: 19.98 kB / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.162, allocations: 0 / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.162, allocations: 0 / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.162, allocations: 0 / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.162, allocations: 0 / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1622, allocations: 195.5 kB / 0.7661 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1623, allocations: 81.12 kB / 0.7661 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1623, allocations: 4 kB / 0.7661 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.1624, allocations: 4 kB / 0.7662 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.1624, allocations: 15.86 kB / 0.7662 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1624, allocations: 0 / 0.7662 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.291e-05/0.1625, allocations: 109.2 kB / 0.7663 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1625, allocations: 0 / 0.7663 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002246/0.1627, allocations: 27.92 kB / 0.7663 GB, free: 10.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0006002/0.1633, allocations: 0.7281 MB / 0.767 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1635, allocations: 59.91 kB / 0.7671 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1635, allocations: 0 / 0.7671 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.1636, allocations: 27.97 kB / 0.7671 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1639, allocations: 23.86 kB / 0.7671 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.1654, allocations: 1.459 MB / 0.7685 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.1657, allocations: 0.6885 MB / 0.7692 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.1658, allocations: 7.984 kB / 0.7692 GB, free: 7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.1658, allocations: 23.44 kB / 0.7692 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.1658, allocations: 4 kB / 0.7692 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.1896, allocations: 2.286 MB / 0.7715 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.281, allocations: 10.03 kB / 0.7715 GB, free: 4.777 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.60935971699655]