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.001019/0.001019, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009721/0.0009721, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8833/0.8833, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.705/0.705, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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="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 1.673e-06/1.673e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.79e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001917/0.001935, allocations: 1.628 MB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3952/0.3972, allocations: 133.2 MB / 0.7498 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3973, allocations: 5.219 kB / 0.7498 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.3975, allocations: 12.59 kB / 0.7498 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.3977, allocations: 53.28 kB / 0.7498 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.3981, allocations: 152.7 kB / 0.75 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.3983, allocations: 126.7 kB / 0.7501 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3984, allocations: 20.56 kB / 0.7501 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008517/0.3993, allocations: 195.5 kB / 0.7503 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.3993, allocations: 37.27 kB / 0.7503 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3993, allocations: 7.188 kB / 0.7503 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.3997, allocations: 173.2 kB / 0.7505 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.3997, allocations: 24.56 kB / 0.7505 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.3997, allocations: 24.19 kB / 0.7505 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.4, allocations: 217.3 kB / 0.7508 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4, allocations: 0 / 0.7508 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4, allocations: 7.938 kB / 0.7508 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4001, allocations: 1.375 kB / 0.7508 GB, free: 16.4 MB / 0.6355 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.0004162/0.4005, allocations: 371.1 kB / 0.7511 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4005, allocations: 10.28 kB / 0.7511 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.4005, allocations: 38.95 kB / 0.7512 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005182/0.4011, allocations: 87.73 kB / 0.7513 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.4012, allocations: 147.1 kB / 0.7514 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4012, allocations: 6.75 kB / 0.7514 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4013, allocations: 5.5 kB / 0.7514 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.4015, allocations: 144.5 kB / 0.7515 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4015, allocations: 3.938 kB / 0.7515 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4015, allocations: 2.078 kB / 0.7515 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4016, allocations: 1.375 kB / 0.7515 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.4018, allocations: 139.1 kB / 0.7517 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.4023, allocations: 364.4 kB / 0.752 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.4027, allocations: 173.9 kB / 0.7522 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.4028, allocations: 72.67 kB / 0.7523 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.4028, allocations: 1.578 kB / 0.7523 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.4028, allocations: 32.91 kB / 0.7523 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.4028, allocations: 1.344 kB / 0.7523 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004493/0.4033, allocations: 228.6 kB / 0.7525 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.4033, allocations: 52.94 kB / 0.7526 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.4034, allocations: 144.4 kB / 0.7527 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.4034, allocations: 30.64 kB / 0.7527 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.4034, allocations: 103.6 kB / 0.7528 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.4035, allocations: 29.77 kB / 0.7529 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.4035, allocations: 23.47 kB / 0.7529 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.4035, allocations: 322.6 kB / 0.7532 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4037, allocations: 57.53 kB / 0.7532 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.4038, allocations: 128.4 kB / 0.7534 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.4041, allocations: 126.8 kB / 0.7535 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4041, allocations: 0 / 0.7535 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002797/0.4043, allocations: 151.3 kB / 0.7536 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4044, allocations: 5.25 kB / 0.7536 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4044, allocations: 6 kB / 0.7536 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4044, allocations: 0 / 0.7536 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4045, allocations: 34.05 kB / 0.7537 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4045, allocations: 1.625 kB / 0.7537 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.4046, allocations: 22.89 kB / 0.7537 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4046, allocations: 3.406 kB / 0.7537 GB, free: 14.38 MB / 0.6355 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 6.457e-05/0.4047, allocations: 124.7 kB / 0.7538 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.4047, allocations: 14.33 kB / 0.7538 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.4048, allocations: 16.08 kB / 0.7538 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4048, allocations: 1.531 kB / 0.7539 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4048, allocations: 0.8906 kB / 0.7539 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4048, allocations: 0 / 0.7539 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.4053, allocations: 431.7 kB / 0.7543 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4053, allocations: 0 / 0.7543 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.4054, allocations: 27.59 kB / 0.7543 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4054, allocations: 3.938 kB / 0.7543 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4054, allocations: 2.406 kB / 0.7543 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4054, allocations: 0 / 0.7543 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4054, allocations: 2.266 kB / 0.7543 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.4057, allocations: 263 kB / 0.7545 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.4057, allocations: 8 kB / 0.7546 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.4057, allocations: 2.281 kB / 0.7546 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.4058, allocations: 13.55 kB / 0.7546 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.4059, allocations: 18.47 kB / 0.7546 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.4059, allocations: 3.969 kB / 0.7546 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.4059, allocations: 119.7 kB / 0.7547 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4059, allocations: 0 / 0.7547 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000212/0.4061, allocations: 36.23 kB / 0.7547 GB, free: 13.62 MB / 0.6355 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.000517/0.4066, allocations: 0.7984 MB / 0.7555 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.4069, allocations: 122.1 kB / 0.7556 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4069, allocations: 0 / 0.7556 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.4071, allocations: 71.38 kB / 0.7557 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.4073, allocations: 32.78 kB / 0.7557 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.4088, allocations: 1.739 MB / 0.7574 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.4089, allocations: 88.55 kB / 0.7575 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.409, allocations: 29.47 kB / 0.7575 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.409, allocations: 32.53 kB / 0.7576 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.409, allocations: 0 / 0.7576 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.4278, allocations: 4.199 MB / 0.7617 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/7.199, allocations: 5.469 kB / 0.7617 GB, free: 10.39 MB / 0.6355 GB " [Timeout remaining time 653] (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: 9.789144451729953] Failed to read output from testmodel.py, exit status != 0: 7.281700720079243 7.2922459570000004 6.890361736 Calling exit ...