Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001265/0.001265, allocations: 106 kB / 16.45 MB, free: 6.039 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.001252/0.001252, allocations: 196.5 kB / 19.41 MB, free: 3.535 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.399/1.399, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.832/0.832, allocations: 134 MB / 436.6 MB, free: 1.285 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.67 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1578, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002845/0.1607, allocations: 1.638 MB / 0.6894 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5247/0.6854, allocations: 152 MB / 0.8378 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.6855, allocations: 3.938 kB / 0.8379 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.6856, allocations: 14.38 kB / 0.8379 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.6858, allocations: 50.2 kB / 0.8379 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.6863, allocations: 140.6 kB / 0.838 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.6864, allocations: 125.1 kB / 0.8382 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.6865, allocations: 17.5 kB / 0.8382 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.6877, allocations: 178.1 kB / 0.8384 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.6878, allocations: 40.22 kB / 0.8384 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.6878, allocations: 12.25 kB / 0.8384 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.6882, allocations: 186.6 kB / 0.8386 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.6882, allocations: 21.58 kB / 0.8386 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.6883, allocations: 46.89 kB / 0.8386 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.6886, allocations: 196.5 kB / 0.8388 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6886, allocations: 0 / 0.8388 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6886, allocations: 0 / 0.8388 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.6886, allocations: 0 / 0.8388 GB, free: 14.12 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006538/0.6893, allocations: 453.6 kB / 0.8393 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.6893, allocations: 7.781 kB / 0.8393 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.6893, allocations: 40.73 kB / 0.8393 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.6903, allocations: 90.19 kB / 0.8394 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.6905, allocations: 203.2 kB / 0.8396 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.6905, allocations: 9.062 kB / 0.8396 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.6906, allocations: 6.781 kB / 0.8396 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.691, allocations: 139.8 kB / 0.8397 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.691, allocations: 4 kB / 0.8397 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.691, allocations: 4 kB / 0.8397 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.691, allocations: 6.906 kB / 0.8398 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.6915, allocations: 139.2 kB / 0.8399 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.6923, allocations: 404.1 kB / 0.8403 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.693, allocations: 245.5 kB / 0.8405 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.6932, allocations: 78.86 kB / 0.8406 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.6932, allocations: 0 / 0.8406 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.6932, allocations: 41.08 kB / 0.8406 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.6932, allocations: 0 / 0.8406 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000714/0.694, allocations: 215.9 kB / 0.8408 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.694, allocations: 54.31 kB / 0.8409 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.6941, allocations: 142.5 kB / 0.841 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.6941, allocations: 25.7 kB / 0.841 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.6942, allocations: 112.6 kB / 0.8411 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.6943, allocations: 29.45 kB / 0.8412 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.6943, allocations: 22.56 kB / 0.8412 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6945, allocations: 325.3 kB / 0.8415 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.6947, allocations: 54.69 kB / 0.8416 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.6949, allocations: 77.08 kB / 0.8416 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.6953, allocations: 114.9 kB / 0.8417 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6953, allocations: 32 / 0.8417 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004902/0.6958, allocations: 172.9 kB / 0.8419 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6958, allocations: 7.531 kB / 0.8419 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6958, allocations: 2.625 kB / 0.8419 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6958, allocations: 0 / 0.8419 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.6961, allocations: 29.59 kB / 0.8419 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6961, allocations: 0 / 0.8419 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.6962, allocations: 22 kB / 0.842 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.6962, allocations: 7.516 kB / 0.842 GB, free: 11.45 MB / 0.6075 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 (8): * Single equations (assignments): 8 * 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.0001205/0.6963, allocations: 118.2 kB / 0.8421 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.6964, allocations: 13.97 kB / 0.8421 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.6965, allocations: 22.89 kB / 0.8421 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6965, allocations: 2.625 kB / 0.8421 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6965, allocations: 0 / 0.8421 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6965, allocations: 0 / 0.8421 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.6974, allocations: 459.5 kB / 0.8426 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6974, allocations: 0 / 0.8426 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.6976, allocations: 25.94 kB / 0.8426 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6976, allocations: 0 / 0.8426 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.6976, allocations: 6.469 kB / 0.8426 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6976, allocations: 4.812 kB / 0.8426 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6976, allocations: 0 / 0.8426 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.6981, allocations: 269.2 kB / 0.8429 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.6982, allocations: 87.61 kB / 0.8429 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.6982, allocations: 4 kB / 0.8429 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.6984, allocations: 22.33 kB / 0.843 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.6984, allocations: 5.984 kB / 0.843 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.6984, allocations: 4.406 kB / 0.843 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.875e-05/0.6985, allocations: 118.7 kB / 0.8431 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6985, allocations: 3.938 kB / 0.8431 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002637/0.6988, allocations: 29.5 kB / 0.8431 GB, free: 10.43 MB / 0.6075 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 (8): * Single equations (assignments): 8 * 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.0009457/0.6997, allocations: 0.8071 MB / 0.8439 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004582/0.7002, allocations: 125.9 kB / 0.844 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7002, allocations: 0 / 0.844 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.7004, allocations: 67.19 kB / 0.8441 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.7008, allocations: 39.38 kB / 0.8441 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.7033, allocations: 1.721 MB / 0.8458 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.7037, allocations: 0.7059 MB / 0.8465 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.7038, allocations: 21.3 kB / 0.8465 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.7039, allocations: 30.98 kB / 0.8465 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.7039, allocations: 4 kB / 0.8466 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.7274, allocations: 3.363 MB / 0.8498 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.807, allocations: 11.34 kB / 0.8498 GB, free: 5.691 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.22447529900819] Failed to read output from testmodel.py, exit status != 0: 8.876923981122673 8.903909261 8.209960451 Calling exit ...