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.001231/0.001231, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001352/0.001352, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.855/0.855, allocations: 133.9 MB / 443.5 MB, free: 14.12 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.002012/0.002012, allocations: 65.77 kB / 0.6141 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1835, allocations: 85.86 MB / 0.6979 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003278/0.1868, allocations: 1.651 MB / 0.6995 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1935/0.3803, allocations: 154.8 MB / 0.8508 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.3804, allocations: 3.938 kB / 0.8508 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.3805, allocations: 19.8 kB / 0.8508 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.3809, allocations: 43.7 kB / 0.8508 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.3814, allocations: 151.4 kB / 0.851 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.3816, allocations: 119.6 kB / 0.8511 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3817, allocations: 29.36 kB / 0.8511 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.3832, allocations: 192.9 kB / 0.8513 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.3833, allocations: 39.78 kB / 0.8513 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.3833, allocations: 8 kB / 0.8513 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.3838, allocations: 191.6 kB / 0.8515 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.3838, allocations: 19.92 kB / 0.8515 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.3839, allocations: 47.73 kB / 0.8516 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.3843, allocations: 193.5 kB / 0.8518 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3843, allocations: 0 / 0.8518 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3843, allocations: 0 / 0.8518 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3843, allocations: 0 / 0.8518 GB, free: 0.9062 MB / 0.6544 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.0006958/0.385, allocations: 450.6 kB / 0.8522 GB, free: 428 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3851, allocations: 13.69 kB / 0.8522 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.478e-05/0.3851, allocations: 4.188 kB / 0.8522 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.3851, allocations: 42.5 kB / 0.8523 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3861, allocations: 87.78 kB / 0.8523 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3864, allocations: 210.8 kB / 0.8525 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3864, allocations: 8 kB / 0.8526 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3864, allocations: 4 kB / 0.8526 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.3869, allocations: 135 kB / 0.8527 GB, free: 15.87 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3869, allocations: 0 / 0.8527 GB, free: 15.87 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3869, allocations: 7.875 kB / 0.8527 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3869, allocations: 4 kB / 0.8527 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.3875, allocations: 139.8 kB / 0.8528 GB, free: 15.72 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.3884, allocations: 420.4 kB / 0.8532 GB, free: 15.26 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.3892, allocations: 247.7 kB / 0.8535 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.3894, allocations: 72.8 kB / 0.8535 GB, free: 14.92 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3895, allocations: 0 / 0.8535 GB, free: 14.92 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3895, allocations: 34.56 kB / 0.8536 GB, free: 14.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.3895, allocations: 0 / 0.8536 GB, free: 14.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.0008609/0.3904, allocations: 221.4 kB / 0.8538 GB, free: 14.65 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3904, allocations: 55.41 kB / 0.8538 GB, free: 14.59 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3906, allocations: 149.7 kB / 0.854 GB, free: 14.43 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3906, allocations: 25.7 kB / 0.854 GB, free: 14.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.3907, allocations: 100.1 kB / 0.8541 GB, free: 14.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.3907, allocations: 27.89 kB / 0.8541 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.3908, allocations: 29.7 kB / 0.8542 GB, free: 14.24 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3909, allocations: 326.8 kB / 0.8545 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.3912, allocations: 55.94 kB / 0.8545 GB, free: 13.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.3914, allocations: 74.53 kB / 0.8546 GB, free: 13.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.3919, allocations: 125.2 kB / 0.8547 GB, free: 13.65 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3919, allocations: 0 / 0.8547 GB, free: 13.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005587/0.3925, allocations: 169.5 kB / 0.8549 GB, free: 13.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3925, allocations: 4 kB / 0.8549 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3925, allocations: 0 / 0.8549 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3925, allocations: 0 / 0.8549 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3927, allocations: 27.97 kB / 0.8549 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3927, allocations: 0 / 0.8549 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.3929, allocations: 27.88 kB / 0.8549 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.3929, allocations: 3.984 kB / 0.8549 GB, free: 13.41 MB / 0.67 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.0001106/0.393, allocations: 118.5 kB / 0.855 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.3931, allocations: 11.95 kB / 0.8551 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.3931, allocations: 8.719 kB / 0.8551 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3931, allocations: 4 kB / 0.8551 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3932, allocations: 8 kB / 0.8551 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3932, allocations: 11.86 kB / 0.8551 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/0.3941, allocations: 462.3 kB / 0.8555 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3941, allocations: 7.984 kB / 0.8555 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.3943, allocations: 27.97 kB / 0.8556 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3943, allocations: 0 / 0.8556 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3943, allocations: 3.938 kB / 0.8556 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3943, allocations: 0 / 0.8556 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3943, allocations: 0 / 0.8556 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.3949, allocations: 263.3 kB / 0.8558 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.395, allocations: 85.06 kB / 0.8559 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.395, allocations: 3.938 kB / 0.8559 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3952, allocations: 23.95 kB / 0.8559 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3952, allocations: 4 kB / 0.8559 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3952, allocations: 11.98 kB / 0.8559 GB, free: 12.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.922e-05/0.3953, allocations: 109.3 kB / 0.856 GB, free: 12.17 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.3953, allocations: 4 kB / 0.856 GB, free: 12.16 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002753/0.3956, allocations: 31.88 kB / 0.8561 GB, free: 12.13 MB / 0.67 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.0009724/0.3966, allocations: 0.7982 MB / 0.8569 GB, free: 11.31 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000562/0.3971, allocations: 131.8 kB / 0.857 GB, free: 11.18 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3971, allocations: 0 / 0.857 GB, free: 11.18 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.3974, allocations: 63.88 kB / 0.857 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3978, allocations: 36.59 kB / 0.8571 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.4008, allocations: 1.727 MB / 0.8588 GB, free: 9.273 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.4011, allocations: 0.7078 MB / 0.8595 GB, free: 8.539 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.4012, allocations: 20.42 kB / 0.8595 GB, free: 8.52 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.4013, allocations: 35.52 kB / 0.8595 GB, free: 8.484 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.4013, allocations: 3.938 kB / 0.8595 GB, free: 8.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.4209, allocations: 3.404 MB / 0.8628 GB, free: 5.254 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.083, allocations: 16.56 kB / 0.8629 GB, free: 5.242 MB / 0.67 GB " [Timeout remaining time 650] (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: 13.21697651501745] Failed to read output from testmodel.py, exit status != 0: 9.520305457990617 9.522109059 9.134895699 Calling exit ...