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.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.001285/0.001285, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001672/0.001672, allocations: 219 kB / 23.03 MB, free: 4.922 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.8403/0.8403, allocations: 134 MB / 447.2 MB, free: 9.922 MB / 350.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.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(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00192/0.00192, allocations: 66.67 kB / 0.6192 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1571, allocations: 85.91 MB / 0.7031 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003314/0.1604, allocations: 1.63 MB / 0.7047 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.516/0.6764, allocations: 133.1 MB / 0.8347 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.6765, allocations: 2.312 kB / 0.8347 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.6767, allocations: 18.36 kB / 0.8347 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.677, allocations: 40.28 kB / 0.8348 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.6774, allocations: 151.2 kB / 0.8349 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.6776, allocations: 126.2 kB / 0.835 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.6777, allocations: 19.05 kB / 0.8351 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.6791, allocations: 174.1 kB / 0.8352 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.6792, allocations: 44.91 kB / 0.8353 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.6792, allocations: 12.41 kB / 0.8353 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.6796, allocations: 180.1 kB / 0.8354 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.6796, allocations: 21.08 kB / 0.8355 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.6797, allocations: 47.5 kB / 0.8355 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.68, allocations: 194.5 kB / 0.8357 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.68, allocations: 6.625 kB / 0.8357 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.68, allocations: 0 / 0.8357 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.68, allocations: 0 / 0.8357 GB, free: 10.1 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.0005973/0.6806, allocations: 367.8 kB / 0.8361 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.6807, allocations: 12.28 kB / 0.8361 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.6807, allocations: 11.22 kB / 0.8361 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.6807, allocations: 40.73 kB / 0.8361 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009878/0.6817, allocations: 84.33 kB / 0.8362 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.6819, allocations: 150.4 kB / 0.8363 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.682, allocations: 5.188 kB / 0.8363 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.682, allocations: 9.125 kB / 0.8364 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.6824, allocations: 133.5 kB / 0.8365 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6824, allocations: 0 / 0.8365 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.6824, allocations: 11.94 kB / 0.8365 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.6824, allocations: 6.172 kB / 0.8365 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.6829, allocations: 129.7 kB / 0.8366 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.6837, allocations: 363.8 kB / 0.837 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.6843, allocations: 170.7 kB / 0.8371 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.6846, allocations: 71.08 kB / 0.8372 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.6846, allocations: 3.125 kB / 0.8372 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.6846, allocations: 30.56 kB / 0.8372 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.6846, allocations: 0 / 0.8372 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0007554/0.6854, allocations: 228.2 kB / 0.8375 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6854, allocations: 51.41 kB / 0.8375 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6855, allocations: 142.2 kB / 0.8376 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.6856, allocations: 33.7 kB / 0.8377 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.6856, allocations: 105.7 kB / 0.8378 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.6857, allocations: 30.39 kB / 0.8378 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.6857, allocations: 21.88 kB / 0.8378 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6859, allocations: 329.2 kB / 0.8381 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.6861, allocations: 53.16 kB / 0.8382 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.6863, allocations: 130.3 kB / 0.8383 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.6867, allocations: 122 kB / 0.8384 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6867, allocations: 0 / 0.8384 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000472/0.6872, allocations: 163.2 kB / 0.8386 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.6872, allocations: 7.25 kB / 0.8386 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6872, allocations: 5.781 kB / 0.8386 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.6872, allocations: 0 / 0.8386 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.6874, allocations: 26.94 kB / 0.8386 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6874, allocations: 4 kB / 0.8386 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.6876, allocations: 30.48 kB / 0.8387 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.6876, allocations: 3.938 kB / 0.8387 GB, free: 7.668 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.0001044/0.6877, allocations: 119.1 kB / 0.8388 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.6877, allocations: 8.766 kB / 0.8388 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.6878, allocations: 20.05 kB / 0.8388 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6878, allocations: 2.781 kB / 0.8388 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.6878, allocations: 4 kB / 0.8388 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6878, allocations: 0 / 0.8388 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000789/0.6886, allocations: 417 kB / 0.8392 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6886, allocations: 0 / 0.8392 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.6888, allocations: 34.56 kB / 0.8392 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6888, allocations: 2.875 kB / 0.8392 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.6888, allocations: 7.969 kB / 0.8392 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6888, allocations: 3.938 kB / 0.8392 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6888, allocations: 0 / 0.8392 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.6893, allocations: 257.6 kB / 0.8395 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.6894, allocations: 10.92 kB / 0.8395 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.6894, allocations: 2.969 kB / 0.8395 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.6896, allocations: 19.33 kB / 0.8395 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.6896, allocations: 6.734 kB / 0.8395 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.6896, allocations: 7.172 kB / 0.8395 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.457e-05/0.6897, allocations: 112.7 kB / 0.8396 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6897, allocations: 0 / 0.8396 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002613/0.69, allocations: 31.67 kB / 0.8397 GB, free: 6.812 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.0008771/0.6908, allocations: 0.8016 MB / 0.8405 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.6913, allocations: 126.6 kB / 0.8406 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.6913, allocations: 0 / 0.8406 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.6915, allocations: 65.22 kB / 0.8406 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.6919, allocations: 43.62 kB / 0.8407 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.6946, allocations: 1.741 MB / 0.8424 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.619e-05/0.6947, allocations: 85.09 kB / 0.8425 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.6948, allocations: 24.41 kB / 0.8425 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/0.6949, allocations: 39.42 kB / 0.8425 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.6949, allocations: 0 / 0.8425 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.718, allocations: 3.726 MB / 0.8462 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.93, allocations: 8.641 kB / 0.8462 GB, free: 0.6211 MB / 0.6075 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.534141271025874] Failed to read output from testmodel.py, exit status != 0: 12.092361213988625 12.11160481 11.426181696 Calling exit ...