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.001061/0.001061, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001059/0.001059, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8146/0.8146, allocations: 177.2 MB / 203.5 MB, free: 5.707 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.6725/0.6725, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.686e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00154/0.001557, allocations: 1.498 MB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3738/0.3754, allocations: 115.8 MB / 0.7339 GB, free: 28.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.3754, allocations: 1.031 kB / 0.7339 GB, free: 28.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.3755, allocations: 7.266 kB / 0.7339 GB, free: 28.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.3755, allocations: 9.625 kB / 0.7339 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.3759, allocations: 65.59 kB / 0.734 GB, free: 28.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.826e-05/0.3759, allocations: 59.33 kB / 0.734 GB, free: 28.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.376, allocations: 11.53 kB / 0.734 GB, free: 28.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.3761, allocations: 25.73 kB / 0.7341 GB, free: 28.1 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.45e-05/0.3761, allocations: 21.81 kB / 0.7341 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.3761, allocations: 5.344 kB / 0.7341 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.3762, allocations: 28.33 kB / 0.7341 GB, free: 28.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3762, allocations: 12.78 kB / 0.7341 GB, free: 28.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.3762, allocations: 18.34 kB / 0.7341 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.3764, allocations: 60.55 kB / 0.7342 GB, free: 28.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3764, allocations: 1.156 kB / 0.7342 GB, free: 28.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3764, allocations: 0 / 0.7342 GB, free: 28.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3764, allocations: 0 / 0.7342 GB, free: 28.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003147/0.3767, allocations: 298.2 kB / 0.7345 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.3767, allocations: 9.344 kB / 0.7345 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.3768, allocations: 7.297 kB / 0.7345 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.21e-05/0.3768, allocations: 125.3 kB / 0.7346 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.3768, allocations: 1.312 kB / 0.7346 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.3768, allocations: 2.719 kB / 0.7346 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.377, allocations: 75.08 kB / 0.7347 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.377, allocations: 192 / 0.7347 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.377, allocations: 384 / 0.7347 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.377, allocations: 5.5 kB / 0.7347 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.3771, allocations: 73.08 kB / 0.7348 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.3774, allocations: 218.8 kB / 0.735 GB, free: 27.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3775, allocations: 53.09 kB / 0.735 GB, free: 27.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.3775, allocations: 41.5 kB / 0.7351 GB, free: 27.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.223e-05/0.3776, allocations: 14.75 kB / 0.7351 GB, free: 27.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.3777, allocations: 36 kB / 0.7351 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3777, allocations: 0 / 0.7351 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002786/0.3779, allocations: 133 kB / 0.7352 GB, free: 27.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/0.3779, allocations: 55.78 kB / 0.7353 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.378, allocations: 112.8 kB / 0.7354 GB, free: 27.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.378, allocations: 25.7 kB / 0.7354 GB, free: 27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.378, allocations: 93.3 kB / 0.7355 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.378, allocations: 14.08 kB / 0.7355 GB, free: 26.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.3781, allocations: 16.78 kB / 0.7355 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.773e-05/0.3781, allocations: 315.1 kB / 0.7358 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.3782, allocations: 34.97 kB / 0.7359 GB, free: 26.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.3782, allocations: 29.98 kB / 0.7359 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3784, allocations: 66.8 kB / 0.736 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3784, allocations: 0 / 0.736 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001575/0.3785, allocations: 114 kB / 0.7361 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3785, allocations: 8.25 kB / 0.7361 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3785, allocations: 1.062 kB / 0.7361 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3785, allocations: 4.031 kB / 0.7361 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/0.3786, allocations: 17.47 kB / 0.7361 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3786, allocations: 0 / 0.7361 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.3786, allocations: 10.08 kB / 0.7361 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3786, allocations: 1.125 kB / 0.7361 GB, free: 26.48 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 (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 4.111e-05/0.3787, allocations: 120.1 kB / 0.7362 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.3787, allocations: 6.156 kB / 0.7362 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.3789, allocations: 110.6 kB / 0.7363 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3789, allocations: 0 / 0.7363 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3789, allocations: 5.375 kB / 0.7364 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3789, allocations: 0 / 0.7364 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.147e-05/0.379, allocations: 116.6 kB / 0.7365 GB, free: 26.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.379, allocations: 0 / 0.7365 GB, free: 26.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.379, allocations: 25 kB / 0.7365 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.379, allocations: 0 / 0.7365 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.379, allocations: 4.906 kB / 0.7365 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.379, allocations: 1.125 kB / 0.7365 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.379, allocations: 0 / 0.7365 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3792, allocations: 192.9 kB / 0.7367 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.3792, allocations: 6.328 kB / 0.7367 GB, free: 26.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.3792, allocations: 3.938 kB / 0.7367 GB, free: 26.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.3793, allocations: 13.64 kB / 0.7367 GB, free: 26.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.3793, allocations: 13.72 kB / 0.7367 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.3793, allocations: 0 / 0.7367 GB, free: 26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.3793, allocations: 87.38 kB / 0.7368 GB, free: 25.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3793, allocations: 0 / 0.7368 GB, free: 25.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001546/0.3795, allocations: 18.94 kB / 0.7368 GB, free: 25.92 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 (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.000111/0.3796, allocations: 106.8 kB / 0.7369 GB, free: 25.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.3798, allocations: 66.31 kB / 0.737 GB, free: 25.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.3798, allocations: 0 / 0.737 GB, free: 25.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.3798, allocations: 37.55 kB / 0.737 GB, free: 25.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3801, allocations: 18.55 kB / 0.737 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.3803, allocations: 175.8 kB / 0.7372 GB, free: 25.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.568e-05/0.3804, allocations: 64.89 kB / 0.7373 GB, free: 25.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.3804, allocations: 11.47 kB / 0.7373 GB, free: 25.57 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.3804, allocations: 0 / 0.7373 GB, free: 25.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.001925/0.3823, allocations: 0.9251 MB / 0.7382 GB, free: 25.52 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.172604040242732] Failed to read output from testmodel.py, exit status != 0: 0.386902729049325 0.39514988999999995 0.017092313 Calling exit ...