Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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) 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.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001487/0.001487, allocations: 97.2 kB / 15.69 MB, free: 480 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.00215/0.00215, allocations: 176.5 kB / 16.57 MB, free: 6.398 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.533/1.533, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003106, allocations: 8.906 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1834, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001666/0.1851, allocations: 1.255 MB / 0.558 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1865, allocations: 0.8353 MB / 0.5588 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.1866, allocations: 0 / 0.5588 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1866, allocations: 4 kB / 0.5588 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1868, allocations: 23.89 kB / 0.5588 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1871, allocations: 91.75 kB / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1872, allocations: 51.86 kB / 0.5589 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.1873, allocations: 8 kB / 0.5589 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.1874, allocations: 31.84 kB / 0.559 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1876, allocations: 31.84 kB / 0.559 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1876, allocations: 4 kB / 0.559 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.188, allocations: 263.7 kB / 0.5593 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.188, allocations: 11.92 kB / 0.5593 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.188, allocations: 33.7 kB / 0.5593 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1882, allocations: 104 kB / 0.5594 GB, free: 8.941 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1882, allocations: 0 / 0.5594 GB, free: 8.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1882, allocations: 4 kB / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1883, allocations: 0 / 0.5594 GB, free: 8.938 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006032/0.1889, allocations: 399 kB / 0.5598 GB, free: 8.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1889, allocations: 12.03 kB / 0.5598 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.189, allocations: 30.56 kB / 0.5598 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1891, allocations: 15.84 kB / 0.5598 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.1893, allocations: 190.9 kB / 0.56 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1893, allocations: 7.953 kB / 0.56 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.1894, allocations: 7.938 kB / 0.56 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.1896, allocations: 65.66 kB / 0.5601 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1896, allocations: 0 / 0.5601 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1896, allocations: 4 kB / 0.5601 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1896, allocations: 0 / 0.5601 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1898, allocations: 55.95 kB / 0.5602 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.1902, allocations: 296.7 kB / 0.5604 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1904, allocations: 62.55 kB / 0.5605 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.1904, allocations: 0 / 0.5605 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1905, allocations: 30.56 kB / 0.5605 GB, free: 7.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.1905, allocations: 0 / 0.5605 GB, free: 7.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003622/0.1908, allocations: 121.7 kB / 0.5606 GB, free: 7.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1909, allocations: 55.41 kB / 0.5607 GB, free: 7.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.191, allocations: 135.8 kB / 0.5608 GB, free: 7.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.191, allocations: 25.7 kB / 0.5608 GB, free: 7.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.1911, allocations: 88.14 kB / 0.5609 GB, free: 7.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.1911, allocations: 19.75 kB / 0.561 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.1911, allocations: 4 kB / 0.561 GB, free: 7.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1913, allocations: 326.8 kB / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.1914, allocations: 23.98 kB / 0.5613 GB, free: 6.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.1914, allocations: 24.23 kB / 0.5613 GB, free: 6.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.1915, allocations: 36.11 kB / 0.5613 GB, free: 6.727 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1915, allocations: 0 / 0.5613 GB, free: 6.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002248/0.1918, allocations: 101.5 kB / 0.5614 GB, free: 6.621 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1918, allocations: 4 kB / 0.5614 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1918, allocations: 0 / 0.5614 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1918, allocations: 0 / 0.5614 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1919, allocations: 23.98 kB / 0.5615 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1919, allocations: 4 kB / 0.5615 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.192, allocations: 4 kB / 0.5615 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.192, allocations: 7.922 kB / 0.5615 GB, free: 6.578 MB / 430.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.221e-05/0.1921, allocations: 117.8 kB / 0.5616 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1922, allocations: 7.906 kB / 0.5616 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.1924, allocations: 109.9 kB / 0.5617 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1924, allocations: 4 kB / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1925, allocations: 0 / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1925, allocations: 0 / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1927, allocations: 185.7 kB / 0.5619 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1927, allocations: 0 / 0.5619 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.1928, allocations: 19.98 kB / 0.5619 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1928, allocations: 4 kB / 0.5619 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1928, allocations: 4 kB / 0.5619 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1928, allocations: 3.938 kB / 0.5619 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1928, allocations: 0 / 0.5619 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1931, allocations: 199.5 kB / 0.5621 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1932, allocations: 88.97 kB / 0.5622 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1932, allocations: 4 kB / 0.5622 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.1933, allocations: 7.984 kB / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.1933, allocations: 4 kB / 0.5622 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.1933, allocations: 0 / 0.5622 GB, free: 5.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.1934, allocations: 105.6 kB / 0.5623 GB, free: 5.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1934, allocations: 0 / 0.5623 GB, free: 5.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1937, allocations: 24 kB / 0.5623 GB, free: 5.605 MB / 430.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006309/0.1943, allocations: 0.7481 MB / 0.5631 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1945, allocations: 63.89 kB / 0.5631 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1946, allocations: 4 kB / 0.5631 GB, free: 4.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.1946, allocations: 27.98 kB / 0.5632 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1949, allocations: 13.89 kB / 0.5632 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.1956, allocations: 424.3 kB / 0.5636 GB, free: 4.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1958, allocations: 0.6965 MB / 0.5643 GB, free: 3.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.1959, allocations: 8.172 kB / 0.5643 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.196, allocations: 23.42 kB / 0.5643 GB, free: 3.512 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.196, allocations: 8 kB / 0.5643 GB, free: 3.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5093/0.7052, allocations: 1.982 MB / 0.5662 GB, free: 1.684 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/0.7055, allocations: 189.3 kB / 0.5664 GB, free: 1.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.582, allocations: 0 / 0.5664 GB, free: 1.445 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: