Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001331/0.001331, allocations: 109.2 kB / 16.4 MB, free: 6.504 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.001329/0.001329, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.428/1.428, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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 1.11/1.11, allocations: 173.4 MB / 470.7 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 178] 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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 68.17 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1948, allocations: 89.53 MB / 0.7353 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002426/0.1973, allocations: 1.264 MB / 0.7365 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1988, allocations: 0.8348 MB / 0.7373 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.1988, allocations: 0 / 0.7373 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.1988, allocations: 0 / 0.7373 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.1989, allocations: 7.938 kB / 0.7373 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.1995, allocations: 131.4 kB / 0.7375 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.052e-05/0.1996, allocations: 23.92 kB / 0.7375 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.1996, allocations: 4 kB / 0.7375 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.1997, allocations: 15.94 kB / 0.7375 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.1997, allocations: 7.984 kB / 0.7375 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1998, allocations: 0 / 0.7375 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.2001, allocations: 179.6 kB / 0.7377 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.2002, allocations: 0 / 0.7377 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.2002, allocations: 11.92 kB / 0.7377 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.2005, allocations: 119.7 kB / 0.7378 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2005, allocations: 0 / 0.7378 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2005, allocations: 0 / 0.7378 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2005, allocations: 0 / 0.7378 GB, free: 15.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005367/0.201, allocations: 367.1 kB / 0.7381 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2011, allocations: 8.031 kB / 0.7382 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.2011, allocations: 46.73 kB / 0.7382 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.2012, allocations: 0.9375 kB / 0.7382 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.2013, allocations: 168.3 kB / 0.7384 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.2014, allocations: 26.27 kB / 0.7384 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.2014, allocations: 8.312 kB / 0.7384 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.2016, allocations: 49.98 kB / 0.7384 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2016, allocations: 4 kB / 0.7384 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.2016, allocations: 0 / 0.7384 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2016, allocations: 0 / 0.7384 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2017, allocations: 19.98 kB / 0.7385 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.2019, allocations: 153.7 kB / 0.7386 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.2022, allocations: 50.5 kB / 0.7387 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.2022, allocations: 20.8 kB / 0.7387 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.2026, allocations: 178.3 kB / 0.7388 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2026, allocations: 38.5 kB / 0.7389 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2026, allocations: 0 / 0.7389 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.000267/0.2029, allocations: 69.66 kB / 0.739 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.2029, allocations: 55.41 kB / 0.739 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.203, allocations: 101.8 kB / 0.7391 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.203, allocations: 25.7 kB / 0.7391 GB, free: 14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.2031, allocations: 80.14 kB / 0.7392 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.2031, allocations: 19.83 kB / 0.7392 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.2032, allocations: 13.72 kB / 0.7392 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2033, allocations: 322.8 kB / 0.7395 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.2034, allocations: 8 kB / 0.7395 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.2034, allocations: 12 kB / 0.7396 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.2035, allocations: 32.84 kB / 0.7396 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2035, allocations: 3.938 kB / 0.7396 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.2037, allocations: 49.69 kB / 0.7396 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2037, allocations: 11.94 kB / 0.7397 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2037, allocations: 0 / 0.7397 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2037, allocations: 0 / 0.7397 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.2038, allocations: 11.92 kB / 0.7397 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2038, allocations: 8 kB / 0.7397 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.2039, allocations: 4 kB / 0.7397 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2039, allocations: 0 / 0.7397 GB, free: 13.4 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 (4): * Single equations (assignments): 4 * 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 0.0001086/0.204, allocations: 109.8 kB / 0.7398 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.204, allocations: 7.891 kB / 0.7398 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.2042, allocations: 65.17 kB / 0.7399 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2042, allocations: 0 / 0.7399 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2043, allocations: 0 / 0.7399 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.2043, allocations: 7.984 kB / 0.7399 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.2045, allocations: 157.7 kB / 0.74 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2045, allocations: 4 kB / 0.74 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.2045, allocations: 7.938 kB / 0.74 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2045, allocations: 3.938 kB / 0.74 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2045, allocations: 4 kB / 0.74 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2046, allocations: 4 kB / 0.74 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2046, allocations: 0 / 0.74 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.2048, allocations: 89.12 kB / 0.7401 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.2049, allocations: 85.61 kB / 0.7402 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2049, allocations: 3.984 kB / 0.7402 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.2049, allocations: 4 kB / 0.7402 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.205, allocations: 3.938 kB / 0.7402 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.205, allocations: 8 kB / 0.7402 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.2051, allocations: 83.25 kB / 0.7403 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2051, allocations: 0 / 0.7403 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002572/0.2053, allocations: 35.81 kB / 0.7403 GB, free: 12.62 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 (4): * Single equations (assignments): 4 * 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.0007021/0.2061, allocations: 0.6629 MB / 0.741 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.2062, allocations: 27.98 kB / 0.741 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2063, allocations: 0 / 0.741 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.2063, allocations: 19.94 kB / 0.741 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2067, allocations: 7.984 kB / 0.741 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.2072, allocations: 172.6 kB / 0.7412 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.2076, allocations: 0.6768 MB / 0.7419 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.2076, allocations: 7.984 kB / 0.7419 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.2077, allocations: 11.44 kB / 0.7419 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.2077, allocations: 0 / 0.7419 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.2316, allocations: 1.936 MB / 0.7438 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.376, allocations: 3.484 kB / 0.7438 GB, free: 9.102 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.643880506977439] Failed to read output from testmodel.py, exit status != 0: 8.44294336088933 8.794574275 8.591795386 Calling exit ...