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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 117.8 kB / 17.13 MB, free: 5.918 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.001802/0.001802, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.382/1.382, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8096/0.8096, allocations: 129.2 MB / 432.5 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003149/0.003149, allocations: 67.89 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4129, allocations: 83.44 MB / 0.6802 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002491/0.4154, allocations: 1.589 MB / 0.6817 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.4167, allocations: 0.9116 MB / 0.6826 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.4167, allocations: 4 kB / 0.6826 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.4168, allocations: 13.11 kB / 0.6826 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.417, allocations: 19.61 kB / 0.6827 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.4173, allocations: 144.3 kB / 0.6828 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.4175, allocations: 74.61 kB / 0.6829 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.4176, allocations: 11.69 kB / 0.6829 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.4177, allocations: 29.2 kB / 0.6829 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.4178, allocations: 41.11 kB / 0.6829 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4178, allocations: 3.969 kB / 0.6829 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.4181, allocations: 285.1 kB / 0.6832 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.4182, allocations: 18.17 kB / 0.6832 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.4182, allocations: 28.59 kB / 0.6833 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4184, allocations: 149 kB / 0.6834 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4184, allocations: 0 / 0.6834 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4184, allocations: 0 / 0.6834 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4184, allocations: 5.062 kB / 0.6834 GB, free: 3.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005147/0.419, allocations: 405.8 kB / 0.6838 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.419, allocations: 9.812 kB / 0.6838 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.419, allocations: 39.86 kB / 0.6838 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.4191, allocations: 15.42 kB / 0.6839 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.4193, allocations: 196.2 kB / 0.684 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4194, allocations: 13.44 kB / 0.6841 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.4194, allocations: 2.188 kB / 0.6841 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.4195, allocations: 58.48 kB / 0.6841 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4195, allocations: 0 / 0.6841 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.4196, allocations: 1.156 kB / 0.6841 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4196, allocations: 1.125 kB / 0.6841 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.4197, allocations: 43.56 kB / 0.6842 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.4201, allocations: 304.5 kB / 0.6845 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.4202, allocations: 54.23 kB / 0.6845 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.4202, allocations: 29.53 kB / 0.6845 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.4203, allocations: 1.094 kB / 0.6845 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.4203, allocations: 35.78 kB / 0.6846 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4203, allocations: 0 / 0.6846 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003334/0.4206, allocations: 107 kB / 0.6847 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.4206, allocations: 51.41 kB / 0.6847 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.4207, allocations: 136.5 kB / 0.6848 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.4207, allocations: 26.92 kB / 0.6849 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.4208, allocations: 99.23 kB / 0.685 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.4208, allocations: 17.28 kB / 0.685 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.4208, allocations: 22.7 kB / 0.685 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.4209, allocations: 313.4 kB / 0.6853 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.4209, allocations: 28.41 kB / 0.6853 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.421, allocations: 20.64 kB / 0.6854 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.4211, allocations: 52.23 kB / 0.6854 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4211, allocations: 4 kB / 0.6854 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001861/0.4213, allocations: 94.19 kB / 0.6855 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4213, allocations: 5.156 kB / 0.6855 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4213, allocations: 0 / 0.6855 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4213, allocations: 0 / 0.6855 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.4215, allocations: 15.55 kB / 0.6855 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4215, allocations: 0 / 0.6855 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.4215, allocations: 16.27 kB / 0.6855 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.4215, allocations: 1.156 kB / 0.6855 GB, free: 1.633 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: 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 5.327e-05/0.4216, allocations: 116.9 kB / 0.6856 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.4216, allocations: 12.05 kB / 0.6857 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.4218, allocations: 99.27 kB / 0.6858 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4219, allocations: 0.9375 kB / 0.6858 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4219, allocations: 1.156 kB / 0.6858 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4219, allocations: 3.938 kB / 0.6858 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.422, allocations: 187.3 kB / 0.6859 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.422, allocations: 4 kB / 0.6859 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.4221, allocations: 18.56 kB / 0.686 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4221, allocations: 5.219 kB / 0.686 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4221, allocations: 4 kB / 0.686 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4221, allocations: 5.281 kB / 0.686 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4221, allocations: 0 / 0.686 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.4223, allocations: 197.1 kB / 0.6862 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.4223, allocations: 83.19 kB / 0.6862 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.4223, allocations: 0 / 0.6862 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.4224, allocations: 7.203 kB / 0.6862 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.4225, allocations: 6.906 kB / 0.6863 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.4225, allocations: 5.516 kB / 0.6863 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.4225, allocations: 101.1 kB / 0.6864 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4225, allocations: 0 / 0.6864 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002422/0.4228, allocations: 22.25 kB / 0.6864 GB, free: 0.8164 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: 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.0004315/0.4232, allocations: 0.7308 MB / 0.6871 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.4234, allocations: 60.23 kB / 0.6871 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4234, allocations: 0 / 0.6871 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.4235, allocations: 30.2 kB / 0.6872 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.4238, allocations: 23.45 kB / 0.6872 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.4254, allocations: 1.442 MB / 0.6886 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4258, allocations: 0.6935 MB / 0.6893 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.4258, allocations: 3.562 kB / 0.6893 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.4259, allocations: 27.36 kB / 0.6893 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.4259, allocations: 0 / 0.6893 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.4505, allocations: 2.328 MB / 0.6916 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.4, allocations: 9.094 kB / 0.6916 GB, free: 12.79 MB / 0.5137 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.633536247070879] Failed to read output from testmodel.py, exit status != 0: 8.471628025174141 8.493587322 8.070665448 Calling exit ...