Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.001678/0.001678, allocations: 109 kB / 20.48 MB, free: 1.473 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.002134/0.002134, allocations: 210.5 kB / 23.79 MB, free: 4.684 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.599/1.599, allocations: 230.6 MB / 257.6 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.968/0.968, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002568/0.002568, allocations: 67.69 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2348, allocations: 89.18 MB / 0.7291 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003694/0.2385, allocations: 1.513 MB / 0.7306 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5223/0.7608, allocations: 135.3 MB / 0.8627 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.7608, allocations: 0 / 0.8627 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.7609, allocations: 3.938 kB / 0.8627 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.7609, allocations: 17.94 kB / 0.8627 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.7614, allocations: 70.98 kB / 0.8628 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.7614, allocations: 47.67 kB / 0.8628 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.7615, allocations: 18.08 kB / 0.8628 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.7616, allocations: 22.75 kB / 0.8628 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.7616, allocations: 23.86 kB / 0.8629 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.7617, allocations: 4.781 kB / 0.8629 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.7618, allocations: 30.77 kB / 0.8629 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.7618, allocations: 14.86 kB / 0.8629 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.7618, allocations: 28.92 kB / 0.8629 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.762, allocations: 59.84 kB / 0.863 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.762, allocations: 0 / 0.863 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.192e-06/0.762, allocations: 0 / 0.863 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.762, allocations: 4 kB / 0.863 GB, free: 11.8 MB / 0.6387 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.0005154/0.7625, allocations: 298.1 kB / 0.8633 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7625, allocations: 11.5 kB / 0.8633 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.7626, allocations: 4.125 kB / 0.8633 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.7626, allocations: 37.03 kB / 0.8633 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.7628, allocations: 16.31 kB / 0.8633 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.7629, allocations: 113.2 kB / 0.8635 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.7629, allocations: 10.5 kB / 0.8635 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.7629, allocations: 4.312 kB / 0.8635 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.7632, allocations: 77.05 kB / 0.8635 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.7632, allocations: 0 / 0.8635 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.7632, allocations: 0 / 0.8635 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.7632, allocations: 2.125 kB / 0.8635 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.7635, allocations: 78.3 kB / 0.8636 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.764, allocations: 248 kB / 0.8639 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.7642, allocations: 57.84 kB / 0.8639 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.7644, allocations: 42.34 kB / 0.864 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.7644, allocations: 0 / 0.864 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.7644, allocations: 34.5 kB / 0.864 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.7644, allocations: 0 / 0.864 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005487/0.765, allocations: 140.8 kB / 0.8641 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.765, allocations: 51.41 kB / 0.8642 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.7651, allocations: 122.7 kB / 0.8643 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.7651, allocations: 25.7 kB / 0.8643 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.7652, allocations: 94.95 kB / 0.8644 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.7652, allocations: 15.83 kB / 0.8644 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.7652, allocations: 16.31 kB / 0.8644 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7654, allocations: 321.2 kB / 0.8647 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.7655, allocations: 33.45 kB / 0.8648 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.7656, allocations: 29.78 kB / 0.8648 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.7659, allocations: 75.81 kB / 0.8649 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7659, allocations: 0 / 0.8649 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003188/0.7662, allocations: 98.47 kB / 0.865 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.7662, allocations: 5.344 kB / 0.865 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.7662, allocations: 0 / 0.865 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7662, allocations: 6.594 kB / 0.865 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.7664, allocations: 19.97 kB / 0.865 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.7664, allocations: 2.688 kB / 0.865 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.7665, allocations: 14.06 kB / 0.865 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.7665, allocations: 2.688 kB / 0.865 GB, free: 9.93 MB / 0.6387 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 8.307e-05/0.7666, allocations: 116.4 kB / 0.8651 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.7666, allocations: 3.938 kB / 0.8651 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.7666, allocations: 10.64 kB / 0.8651 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7666, allocations: 0 / 0.8651 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7666, allocations: 4 kB / 0.8651 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.7666, allocations: 2.688 kB / 0.8651 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.7668, allocations: 147.9 kB / 0.8653 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.7668, allocations: 0 / 0.8653 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.7669, allocations: 18.62 kB / 0.8653 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7669, allocations: 0 / 0.8653 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.7669, allocations: 2.656 kB / 0.8653 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7669, allocations: 0 / 0.8653 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7669, allocations: 0 / 0.8653 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.7673, allocations: 199.7 kB / 0.8655 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.7673, allocations: 11 kB / 0.8655 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.7673, allocations: 0 / 0.8655 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.7674, allocations: 11.73 kB / 0.8655 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.7675, allocations: 2.188 kB / 0.8655 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.7675, allocations: 11.92 kB / 0.8655 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.7675, allocations: 97.91 kB / 0.8656 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7675, allocations: 0 / 0.8656 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002201/0.7677, allocations: 7.75 kB / 0.8656 GB, free: 9.32 MB / 0.6387 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.0006627/0.7684, allocations: 0.7355 MB / 0.8663 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.7688, allocations: 70.02 kB / 0.8664 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7688, allocations: 0 / 0.8664 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.7689, allocations: 42.48 kB / 0.8665 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.7692, allocations: 11.72 kB / 0.8665 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.7711, allocations: 1.428 MB / 0.8679 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.7714, allocations: 0.6827 MB / 0.8685 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.7714, allocations: 0 / 0.8685 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.7715, allocations: 21.62 kB / 0.8685 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.7715, allocations: 6.812 kB / 0.8686 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.7941, allocations: 2.121 MB / 0.8706 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.05, allocations: 14 kB / 0.8706 GB, free: 5.422 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.00016225897707] Failed to read output from testmodel.py, exit status != 0: 12.216530753008556 12.232513038 11.467229201 Calling exit ...