Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.000754/0.000754, 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.0008258/0.0008258, allocations: 169.9 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.8993/0.8993, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7083/0.7083, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.915e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.0021/0.002119, allocations: 1.646 MB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4152/0.4173, allocations: 131.6 MB / 0.7482 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.4174, allocations: 1.219 kB / 0.7482 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.4176, allocations: 21.67 kB / 0.7482 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.418, allocations: 61.92 kB / 0.7482 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.4185, allocations: 198.3 kB / 0.7484 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.4187, allocations: 166.6 kB / 0.7486 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.4189, allocations: 21.28 kB / 0.7486 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009064/0.4198, allocations: 215.1 kB / 0.7488 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4199, allocations: 51.19 kB / 0.7489 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.4199, allocations: 9.156 kB / 0.7489 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.4202, allocations: 171.9 kB / 0.749 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.4203, allocations: 27.12 kB / 0.7491 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.4203, allocations: 37.48 kB / 0.7491 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.4207, allocations: 236.3 kB / 0.7493 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4207, allocations: 0.6562 kB / 0.7493 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4207, allocations: 0 / 0.7493 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4207, allocations: 0 / 0.7493 GB, free: 17.43 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006316/0.4214, allocations: 399.6 kB / 0.7497 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4214, allocations: 9.625 kB / 0.7497 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.4214, allocations: 39.39 kB / 0.7498 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004749/0.4219, allocations: 74.81 kB / 0.7498 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.4221, allocations: 151.6 kB / 0.75 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.4221, allocations: 10.16 kB / 0.75 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.4221, allocations: 4.562 kB / 0.75 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.4224, allocations: 183.4 kB / 0.7502 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4224, allocations: 3.938 kB / 0.7502 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4225, allocations: 5.469 kB / 0.7502 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4225, allocations: 6.594 kB / 0.7502 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.4228, allocations: 140.8 kB / 0.7503 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.4235, allocations: 0.7197 MB / 0.751 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.4238, allocations: 131.8 kB / 0.7511 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.4239, allocations: 78.41 kB / 0.7512 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.4239, allocations: 1.594 kB / 0.7512 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.4239, allocations: 33.45 kB / 0.7512 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.4239, allocations: 0 / 0.7512 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001073/0.425, allocations: 394.1 kB / 0.7516 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.425, allocations: 53.58 kB / 0.7517 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.4251, allocations: 151 kB / 0.7518 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.4252, allocations: 25.7 kB / 0.7518 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.4252, allocations: 112.2 kB / 0.7519 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.4252, allocations: 25.94 kB / 0.752 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.4253, allocations: 36.78 kB / 0.752 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.4253, allocations: 324.8 kB / 0.7523 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.4255, allocations: 72.62 kB / 0.7524 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.4256, allocations: 102.5 kB / 0.7525 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.4259, allocations: 179.2 kB / 0.7527 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4259, allocations: 1.375 kB / 0.7527 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005651/0.4265, allocations: 278.2 kB / 0.7529 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4265, allocations: 6.906 kB / 0.7529 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4265, allocations: 2.875 kB / 0.7529 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.4268, allocations: 90.22 kB / 0.753 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4269, allocations: 40.12 kB / 0.7531 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.4281, allocations: 1.548 MB / 0.7546 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4282, allocations: 28.67 kB / 0.7546 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.4283, allocations: 5.812 kB / 0.7546 GB, free: 13.51 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.4283, allocations: 125.7 kB / 0.7547 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.4283, allocations: 13.36 kB / 0.7547 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.4289, allocations: 305.8 kB / 0.755 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4289, allocations: 2.844 kB / 0.755 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.4289, allocations: 0 / 0.755 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4289, allocations: 10.08 kB / 0.755 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.4291, allocations: 202.8 kB / 0.7552 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4291, allocations: 0 / 0.7552 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.4292, allocations: 29.88 kB / 0.7553 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.4294, allocations: 76.31 kB / 0.7553 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4294, allocations: 2.922 kB / 0.7553 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009284/0.4304, allocations: 1.577 MB / 0.7569 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4304, allocations: 0 / 0.7569 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.4309, allocations: 375.4 kB / 0.7572 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.431, allocations: 30.3 kB / 0.7573 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.431, allocations: 6.047 kB / 0.7573 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.4311, allocations: 14.72 kB / 0.7573 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.4311, allocations: 19.73 kB / 0.7573 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4311, allocations: 4 kB / 0.7573 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.4312, allocations: 121.1 kB / 0.7574 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4312, allocations: 0 / 0.7574 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002619/0.4315, allocations: 45.34 kB / 0.7575 GB, free: 11.32 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007488/0.4322, allocations: 0.9235 MB / 0.7584 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005315/0.4327, allocations: 302.4 kB / 0.7587 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4327, allocations: 0 / 0.7587 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.433, allocations: 231.2 kB / 0.7589 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.4333, allocations: 31.36 kB / 0.7589 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.4356, allocations: 2.059 MB / 0.7609 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.241e-05/0.4357, allocations: 94.72 kB / 0.761 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.4358, allocations: 22.27 kB / 0.761 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.4359, allocations: 36.92 kB / 0.7611 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/0.4359, allocations: 4 kB / 0.7611 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.4624, allocations: 5.464 MB / 0.7664 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.309, allocations: 6.969 kB / 0.7664 GB, free: 7.535 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.9827123247087] Failed to read output from testmodel.py, exit status != 0: 8.399784272536635 8.414345312 7.991233313 Calling exit ...