Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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.001382/0.001382, allocations: 101.3 kB / 19.73 MB, free: 2.109 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.001428/0.001428, allocations: 219.2 kB / 23.03 MB, free: 4.91 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8523/0.8523, allocations: 134 MB / 447.2 MB, free: 9.949 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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",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.001994/0.001994, allocations: 62.09 kB / 0.6192 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1815, allocations: 85.91 MB / 0.7031 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002822/0.1843, allocations: 1.502 MB / 0.7046 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5201/0.7044, allocations: 115.7 MB / 0.8176 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.7045, allocations: 4 kB / 0.8176 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.329e-05/0.7045, allocations: 6.531 kB / 0.8176 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.7046, allocations: 11.91 kB / 0.8176 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.705, allocations: 70.3 kB / 0.8177 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.7051, allocations: 49.2 kB / 0.8177 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.7052, allocations: 14.84 kB / 0.8177 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.7053, allocations: 22.45 kB / 0.8178 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.7053, allocations: 20.98 kB / 0.8178 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.7054, allocations: 5.469 kB / 0.8178 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.7055, allocations: 30.2 kB / 0.8178 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.7055, allocations: 11.06 kB / 0.8178 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.7055, allocations: 18.3 kB / 0.8178 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.7057, allocations: 64.19 kB / 0.8179 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.7057, allocations: 0 / 0.8179 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7057, allocations: 0 / 0.8179 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7057, allocations: 3.375 kB / 0.8179 GB, free: 7.227 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005589/0.7062, allocations: 288.6 kB / 0.8182 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.7063, allocations: 10.34 kB / 0.8182 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.795e-05/0.7063, allocations: 7.812 kB / 0.8182 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.7063, allocations: 37.52 kB / 0.8182 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.7064, allocations: 8.047 kB / 0.8182 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.7065, allocations: 121.6 kB / 0.8184 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.7065, allocations: 3.062 kB / 0.8184 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.7065, allocations: 384 / 0.8184 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.7068, allocations: 77.8 kB / 0.8184 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.7068, allocations: 4.031 kB / 0.8184 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.7068, allocations: 0 / 0.8184 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7068, allocations: 4 kB / 0.8184 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.7071, allocations: 72.97 kB / 0.8185 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.7075, allocations: 250.7 kB / 0.8188 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.7077, allocations: 50.27 kB / 0.8188 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.7079, allocations: 41.44 kB / 0.8188 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.708, allocations: 17.86 kB / 0.8189 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.708, allocations: 37.88 kB / 0.8189 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.708, allocations: 0 / 0.8189 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005577/0.7086, allocations: 133.4 kB / 0.819 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.7087, allocations: 51.41 kB / 0.8191 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.7088, allocations: 119.4 kB / 0.8192 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.7088, allocations: 25.7 kB / 0.8192 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.7089, allocations: 94.75 kB / 0.8193 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.7089, allocations: 15.88 kB / 0.8193 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.7089, allocations: 19 kB / 0.8193 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7091, allocations: 314.8 kB / 0.8196 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.7092, allocations: 34.42 kB / 0.8197 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.7094, allocations: 34.88 kB / 0.8197 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.7096, allocations: 71.53 kB / 0.8198 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7096, allocations: 0 / 0.8198 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003094/0.7099, allocations: 101.5 kB / 0.8199 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7099, allocations: 4.969 kB / 0.8199 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.7099, allocations: 0 / 0.8199 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.71, allocations: 0 / 0.8199 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.7101, allocations: 18.72 kB / 0.8199 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7101, allocations: 0 / 0.8199 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.526e-05/0.7102, allocations: 16.3 kB / 0.8199 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.7102, allocations: 0 / 0.8199 GB, free: 5.383 MB / 0.5919 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 (3): * Single equations (assignments): 3 * 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 8.854e-05/0.7103, allocations: 116.5 kB / 0.82 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.7103, allocations: 8.922 kB / 0.82 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.7107, allocations: 106.9 kB / 0.8201 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.7107, allocations: 2.938 kB / 0.8201 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7107, allocations: 0 / 0.8201 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7107, allocations: 0 / 0.8201 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.7108, allocations: 140.5 kB / 0.8203 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7108, allocations: 9.906 kB / 0.8203 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.051e-05/0.7109, allocations: 14.45 kB / 0.8203 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7109, allocations: 0 / 0.8203 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.7109, allocations: 3.938 kB / 0.8203 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7109, allocations: 0 / 0.8203 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7109, allocations: 0 / 0.8203 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.7113, allocations: 206.6 kB / 0.8205 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.7113, allocations: 9.516 kB / 0.8205 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.7113, allocations: 2.094 kB / 0.8205 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.7115, allocations: 10.64 kB / 0.8205 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.7115, allocations: 9.328 kB / 0.8205 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.7115, allocations: 1.312 kB / 0.8205 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.117e-05/0.7116, allocations: 95.53 kB / 0.8206 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7116, allocations: 0 / 0.8206 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002322/0.7118, allocations: 18.22 kB / 0.8206 GB, free: 4.715 MB / 0.5919 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 (3): * Single equations (assignments): 3 * 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.0008126/0.7126, allocations: 0.7347 MB / 0.8213 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.713, allocations: 73.19 kB / 0.8214 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.713, allocations: 3.938 kB / 0.8214 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.7131, allocations: 36.91 kB / 0.8214 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.7134, allocations: 13.73 kB / 0.8215 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.7154, allocations: 1.428 MB / 0.8229 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.551e-05/0.7154, allocations: 69.83 kB / 0.8229 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.7155, allocations: 0 / 0.8229 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.7155, allocations: 22.23 kB / 0.8229 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.7155, allocations: 6.594 kB / 0.823 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.7385, allocations: 2.319 MB / 0.8252 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.91, allocations: 12.92 kB / 0.8252 GB, free: 1.328 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.568624243955128] Failed to read output from testmodel.py, exit status != 0: 12.078607136034407 12.108262052 11.397017251 Calling exit ...