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.001198/0.001198, 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.001022/0.001022, allocations: 165.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.8771/0.8771, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.6974/0.6974, 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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.294e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001665/0.001678, allocations: 1.503 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3935/0.3952, allocations: 115.8 MB / 0.7327 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.3952, allocations: 0.625 kB / 0.7327 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.3953, allocations: 7.359 kB / 0.7327 GB, free: 28.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.3953, allocations: 13.53 kB / 0.7327 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.3957, allocations: 63.77 kB / 0.7327 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3958, allocations: 58.23 kB / 0.7328 GB, free: 28.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3959, allocations: 8.094 kB / 0.7328 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.396, allocations: 25.2 kB / 0.7328 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.3961, allocations: 28.73 kB / 0.7328 GB, free: 28.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3961, allocations: 4.656 kB / 0.7329 GB, free: 28.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3962, allocations: 22.77 kB / 0.7329 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.3962, allocations: 7.641 kB / 0.7329 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.3962, allocations: 17.69 kB / 0.7329 GB, free: 28.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.3964, allocations: 65.91 kB / 0.733 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3964, allocations: 4.969 kB / 0.733 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3964, allocations: 0 / 0.733 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3964, allocations: 0 / 0.733 GB, free: 28.02 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.0003964/0.3968, allocations: 300.4 kB / 0.7333 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3968, allocations: 9.375 kB / 0.7333 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.3969, allocations: 31.84 kB / 0.7333 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3969, allocations: 3.812 kB / 0.7333 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.915e-05/0.397, allocations: 124.2 kB / 0.7334 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.397, allocations: 6.406 kB / 0.7334 GB, free: 27.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.397, allocations: 2.125 kB / 0.7334 GB, free: 27.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3972, allocations: 74.5 kB / 0.7335 GB, free: 27.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3972, allocations: 192 / 0.7335 GB, free: 27.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3972, allocations: 1.438 kB / 0.7335 GB, free: 27.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3972, allocations: 5.219 kB / 0.7335 GB, free: 27.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.3973, allocations: 75.2 kB / 0.7336 GB, free: 27.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.3977, allocations: 248 kB / 0.7338 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3978, allocations: 52.62 kB / 0.7339 GB, free: 27.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.3979, allocations: 37.02 kB / 0.7339 GB, free: 27.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.398, allocations: 12.2 kB / 0.7339 GB, free: 27.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.398, allocations: 40.59 kB / 0.7339 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.398, allocations: 0 / 0.7339 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003798/0.3984, allocations: 138.6 kB / 0.7341 GB, free: 27.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.3984, allocations: 52.53 kB / 0.7341 GB, free: 27.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.3985, allocations: 118.2 kB / 0.7342 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.3986, allocations: 32.89 kB / 0.7343 GB, free: 26.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3986, allocations: 87.45 kB / 0.7344 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.3986, allocations: 8.984 kB / 0.7344 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3987, allocations: 16.06 kB / 0.7344 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.3987, allocations: 316.6 kB / 0.7347 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.3988, allocations: 30.69 kB / 0.7347 GB, free: 26.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.3989, allocations: 30.67 kB / 0.7347 GB, free: 26.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.399, allocations: 72.69 kB / 0.7348 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.399, allocations: 3.938 kB / 0.7348 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001832/0.3992, allocations: 112.7 kB / 0.7349 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3992, allocations: 5.219 kB / 0.7349 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3992, allocations: 0 / 0.7349 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3993, allocations: 5.031 kB / 0.7349 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.3993, allocations: 13.2 kB / 0.7349 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3994, allocations: 1.438 kB / 0.7349 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.3994, allocations: 17.16 kB / 0.735 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3994, allocations: 1.469 kB / 0.735 GB, free: 26.38 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 5.052e-05/0.3995, allocations: 109.1 kB / 0.7351 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.3995, allocations: 10.7 kB / 0.7351 GB, free: 26.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.3997, allocations: 115.3 kB / 0.7352 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3997, allocations: 1.25 kB / 0.7352 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3997, allocations: 0 / 0.7352 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3997, allocations: 4.906 kB / 0.7352 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3998, allocations: 140.4 kB / 0.7353 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3998, allocations: 0 / 0.7353 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.3999, allocations: 13.88 kB / 0.7353 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3999, allocations: 4 kB / 0.7353 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3999, allocations: 1.188 kB / 0.7353 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3999, allocations: 0 / 0.7353 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3999, allocations: 0.9375 kB / 0.7353 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.4001, allocations: 197.2 kB / 0.7355 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.4001, allocations: 10.48 kB / 0.7355 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.4001, allocations: 0 / 0.7355 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.4001, allocations: 17.58 kB / 0.7356 GB, free: 25.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.4002, allocations: 6.156 kB / 0.7356 GB, free: 25.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.4002, allocations: 4.328 kB / 0.7356 GB, free: 25.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.4002, allocations: 91.66 kB / 0.7357 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4002, allocations: 0 / 0.7357 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001605/0.4004, allocations: 19.97 kB / 0.7357 GB, free: 25.79 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.0003775/0.4008, allocations: 0.7388 MB / 0.7364 GB, free: 25.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.401, allocations: 74.5 kB / 0.7365 GB, free: 25.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.401, allocations: 0 / 0.7365 GB, free: 25.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.4011, allocations: 38.2 kB / 0.7365 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.4014, allocations: 11.66 kB / 0.7365 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.4025, allocations: 1.418 MB / 0.7379 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.4025, allocations: 68.11 kB / 0.738 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.4026, allocations: 2.25 kB / 0.738 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.4026, allocations: 16.12 kB / 0.738 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.4026, allocations: 0 / 0.738 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.4201, allocations: 2.825 MB / 0.7407 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.251, allocations: 6.75 kB / 0.7407 GB, free: 22.86 MB / 0.6355 GB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 9.87327520456165] Failed to read output from testmodel.py, exit status != 0: 7.329606699757278 7.34023248 6.9419311740000005 Calling exit ...