Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008947/0.0008947, 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.001696/0.001696, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8987/0.8987, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7218/0.7218, allocations: 154.6 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.127e-05, allocations: 2.906 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00221/0.002232, allocations: 1.633 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4302/0.4324, allocations: 133.2 MB / 0.7497 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.4326, allocations: 7.938 kB / 0.7497 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.4328, allocations: 20.89 kB / 0.7497 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.433, allocations: 43.44 kB / 0.7498 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.4335, allocations: 154.6 kB / 0.7499 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.4337, allocations: 124 kB / 0.75 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.4338, allocations: 20.3 kB / 0.7501 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008898/0.4347, allocations: 196.7 kB / 0.7502 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.4347, allocations: 29.47 kB / 0.7503 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.4348, allocations: 7.062 kB / 0.7503 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.4351, allocations: 175.8 kB / 0.7504 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.4352, allocations: 20.98 kB / 0.7505 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.4352, allocations: 36.42 kB / 0.7505 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.4356, allocations: 212.4 kB / 0.7507 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4356, allocations: 0 / 0.7507 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4356, allocations: 0.6094 kB / 0.7507 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.4356, allocations: 1.5 kB / 0.7507 GB, free: 16.48 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.0004764/0.436, allocations: 371 kB / 0.7511 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4361, allocations: 11.47 kB / 0.7511 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.4361, allocations: 39.69 kB / 0.7511 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.4367, allocations: 87.03 kB / 0.7512 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.4369, allocations: 154.8 kB / 0.7513 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4369, allocations: 7.328 kB / 0.7513 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.4369, allocations: 5.719 kB / 0.7513 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.4372, allocations: 146.6 kB / 0.7515 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4372, allocations: 0 / 0.7515 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.4373, allocations: 2.547 kB / 0.7515 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4373, allocations: 1.375 kB / 0.7515 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.4376, allocations: 138.8 kB / 0.7516 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.4382, allocations: 363.8 kB / 0.752 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.4386, allocations: 173.7 kB / 0.7521 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.4388, allocations: 72.72 kB / 0.7522 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.4388, allocations: 6.031 kB / 0.7522 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4388, allocations: 37.31 kB / 0.7522 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.4388, allocations: 0 / 0.7522 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005335/0.4394, allocations: 218.7 kB / 0.7525 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4394, allocations: 52.78 kB / 0.7525 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.4395, allocations: 147.8 kB / 0.7526 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.4395, allocations: 27.08 kB / 0.7527 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.4396, allocations: 100.2 kB / 0.7528 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.4396, allocations: 29.23 kB / 0.7528 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.4396, allocations: 23.12 kB / 0.7528 GB, free: 15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.4397, allocations: 320.9 kB / 0.7531 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.4398, allocations: 63.2 kB / 0.7532 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.44, allocations: 127 kB / 0.7533 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.4402, allocations: 124.3 kB / 0.7534 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4402, allocations: 3.125 kB / 0.7534 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002727/0.4405, allocations: 158.9 kB / 0.7536 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4405, allocations: 6.922 kB / 0.7536 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.4405, allocations: 3.938 kB / 0.7536 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4405, allocations: 5.344 kB / 0.7536 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4407, allocations: 35.59 kB / 0.7536 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4407, allocations: 0 / 0.7536 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.4407, allocations: 20.16 kB / 0.7536 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.4407, allocations: 3.281 kB / 0.7536 GB, free: 14.45 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 5.827e-05/0.4408, allocations: 121 kB / 0.7538 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.4408, allocations: 12.89 kB / 0.7538 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.4409, allocations: 16.95 kB / 0.7538 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4409, allocations: 1.312 kB / 0.7538 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4409, allocations: 2.172 kB / 0.7538 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4409, allocations: 0 / 0.7538 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.4414, allocations: 431.2 kB / 0.7542 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4414, allocations: 0.7031 kB / 0.7542 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.818e-05/0.4415, allocations: 26.66 kB / 0.7542 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4415, allocations: 1.125 kB / 0.7542 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4415, allocations: 2.547 kB / 0.7542 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4415, allocations: 0.5156 kB / 0.7542 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4415, allocations: 0 / 0.7542 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.4418, allocations: 260.4 kB / 0.7545 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.4418, allocations: 8.922 kB / 0.7545 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4419, allocations: 5.766 kB / 0.7545 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.4419, allocations: 18.05 kB / 0.7545 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.442, allocations: 5.984 kB / 0.7545 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.442, allocations: 7.062 kB / 0.7545 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.4421, allocations: 124.5 kB / 0.7546 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4421, allocations: 0 / 0.7546 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002328/0.4423, allocations: 32.02 kB / 0.7547 GB, free: 13.7 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.0005769/0.4429, allocations: 0.7986 MB / 0.7555 GB, free: 13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.4432, allocations: 123.4 kB / 0.7556 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4432, allocations: 0 / 0.7556 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.4433, allocations: 67.69 kB / 0.7556 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.4436, allocations: 31.72 kB / 0.7557 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.4452, allocations: 1.755 MB / 0.7574 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.262e-05/0.4453, allocations: 84.88 kB / 0.7575 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.4454, allocations: 29.3 kB / 0.7575 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.4454, allocations: 34.22 kB / 0.7575 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.4454, allocations: 0 / 0.7575 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.4644, allocations: 4.21 MB / 0.7616 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.556, allocations: 4.359 kB / 0.7616 GB, free: 10.45 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.266722395084798] Failed to read output from testmodel.py, exit status != 0: 7.6385939149186015 7.649820226 7.212348502 Calling exit ...