Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 216.4 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.388/3.388, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 68.47 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4489, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002496/0.4514, allocations: 1.311 MB / 1.328 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1964/0.6478, allocations: 135.2 MB / 1.46 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.6479, allocations: 0 / 1.46 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.6479, allocations: 0 / 1.46 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.648, allocations: 7.922 kB / 1.46 GB, free: 8.926 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.6485, allocations: 63.94 kB / 1.46 GB, free: 8.863 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.6486, allocations: 19.88 kB / 1.46 GB, free: 8.844 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.6486, allocations: 8 kB / 1.46 GB, free: 8.836 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.6487, allocations: 7.984 kB / 1.46 GB, free: 8.828 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.6487, allocations: 11.92 kB / 1.46 GB, free: 8.816 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.6488, allocations: 0 / 1.46 GB, free: 8.816 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.6489, allocations: 27.8 kB / 1.46 GB, free: 8.793 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.6489, allocations: 0 / 1.46 GB, free: 8.793 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.6489, allocations: 11.92 kB / 1.46 GB, free: 8.781 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.649, allocations: 23.98 kB / 1.46 GB, free: 8.758 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6491, allocations: 0 / 1.46 GB, free: 8.758 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6491, allocations: 0 / 1.46 GB, free: 8.758 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.6491, allocations: 7.938 kB / 1.46 GB, free: 8.75 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005281/0.6496, allocations: 258.3 kB / 1.46 GB, free: 8.465 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.6496, allocations: 8.031 kB / 1.46 GB, free: 8.457 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.591e-05/0.6497, allocations: 192 / 1.46 GB, free: 8.457 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.6497, allocations: 34.75 kB / 1.46 GB, free: 8.414 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.6497, allocations: 4.938 kB / 1.46 GB, free: 8.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.6499, allocations: 110.5 kB / 1.461 GB, free: 8.277 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.65, allocations: 59.95 kB / 1.461 GB, free: 8.207 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.65, allocations: 4.375 kB / 1.461 GB, free: 8.203 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.6501, allocations: 45.75 kB / 1.461 GB, free: 8.152 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6501, allocations: 0 / 1.461 GB, free: 8.152 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.6501, allocations: 0 / 1.461 GB, free: 8.152 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6501, allocations: 0 / 1.461 GB, free: 8.152 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.6502, allocations: 11.98 kB / 1.461 GB, free: 8.141 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.6504, allocations: 124.7 kB / 1.461 GB, free: 7.977 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.6505, allocations: 38.55 kB / 1.461 GB, free: 7.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.6506, allocations: 16.94 kB / 1.461 GB, free: 7.91 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.6507, allocations: 12 kB / 1.461 GB, free: 7.898 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.6507, allocations: 42.42 kB / 1.461 GB, free: 7.848 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.6507, allocations: 0 / 1.461 GB, free: 7.848 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.000258/0.651, allocations: 61.64 kB / 1.461 GB, free: 7.781 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.6511, allocations: 51.41 kB / 1.461 GB, free: 7.719 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/0.6511, allocations: 101.8 kB / 1.461 GB, free: 7.609 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6512, allocations: 25.7 kB / 1.461 GB, free: 7.578 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.6512, allocations: 80.14 kB / 1.461 GB, free: 7.496 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.6512, allocations: 7.938 kB / 1.461 GB, free: 7.488 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.6513, allocations: 17.72 kB / 1.461 GB, free: 7.465 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6514, allocations: 314.8 kB / 1.462 GB, free: 7.148 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.6515, allocations: 8 kB / 1.462 GB, free: 7.141 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.6515, allocations: 4 kB / 1.462 GB, free: 7.137 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.6516, allocations: 28.78 kB / 1.462 GB, free: 7.105 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6516, allocations: 0 / 1.462 GB, free: 7.105 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001314/0.6517, allocations: 58.08 kB / 1.462 GB, free: 7.043 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6517, allocations: 4 kB / 1.462 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.6517, allocations: 0 / 1.462 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.6517, allocations: 3.938 kB / 1.462 GB, free: 7.035 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.6518, allocations: 8 kB / 1.462 GB, free: 7.027 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.515e-06/0.6518, allocations: 4 kB / 1.462 GB, free: 7.023 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.6519, allocations: 7.953 kB / 1.462 GB, free: 7.016 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.6519, allocations: 48 / 1.462 GB, free: 7.016 MB / 1.154 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 (3): * Single equations (assignments): 3 * 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 9.756e-05/0.652, allocations: 120.5 kB / 1.462 GB, free: 6.891 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.652, allocations: 7.922 kB / 1.462 GB, free: 6.883 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.6521, allocations: 57.36 kB / 1.462 GB, free: 6.812 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6522, allocations: 0 / 1.462 GB, free: 6.812 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.6522, allocations: 15.98 kB / 1.462 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6522, allocations: 0 / 1.462 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.6523, allocations: 116.8 kB / 1.462 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6523, allocations: 0 / 1.462 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.6523, allocations: 11.92 kB / 1.462 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6523, allocations: 0 / 1.462 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.6523, allocations: 4 kB / 1.462 GB, free: 6.625 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6524, allocations: 0 / 1.462 GB, free: 6.625 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6524, allocations: 4 kB / 1.462 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.6525, allocations: 77.05 kB / 1.462 GB, free: 6.527 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.6526, allocations: 11.89 kB / 1.462 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.6526, allocations: 0 / 1.462 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.639e-05/0.6526, allocations: 0 / 1.462 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.6526, allocations: 15.92 kB / 1.462 GB, free: 6.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.6526, allocations: 0 / 1.462 GB, free: 6.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.6527, allocations: 79.28 kB / 1.462 GB, free: 6.422 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6527, allocations: 0 / 1.462 GB, free: 6.422 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002115/0.6529, allocations: 15.94 kB / 1.462 GB, free: 6.406 MB / 1.154 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 (3): * Single equations (assignments): 3 * 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.0005594/0.6535, allocations: 0.6202 MB / 1.463 GB, free: 5.754 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.6536, allocations: 19.98 kB / 1.463 GB, free: 5.734 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6536, allocations: 4 kB / 1.463 GB, free: 5.73 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.6537, allocations: 8 kB / 1.463 GB, free: 5.723 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.654, allocations: 7.984 kB / 1.463 GB, free: 5.715 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.6544, allocations: 161.8 kB / 1.463 GB, free: 5.516 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.6547, allocations: 0.6768 MB / 1.464 GB, free: 4.812 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.6548, allocations: 7.938 kB / 1.464 GB, free: 4.805 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.6548, allocations: 11.44 kB / 1.464 GB, free: 4.793 MB / 1.154 GB Notification: Performance of SimCode: time 2.8e-07/0.6548, allocations: 0 / 1.464 GB, free: 4.793 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.6762, allocations: 1.513 MB / 1.465 GB, free: 3.434 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.91, allocations: 0 / 1.465 GB, free: 3.434 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.012221799988765] Failed to read output from testmodel.py, exit status != 0: 12.075331773026846 12.099822537 11.445299563 Calling exit ...