Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.0007805/0.0007805, 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.0008795/0.0008795, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9216/0.9216, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7096/0.7096, allocations: 154.6 MB / 413.8 MB, free: 0.7734 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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.169e-05, allocations: 3.219 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001715/0.001736, allocations: 1.287 MB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3807/0.3824, allocations: 115.8 MB / 0.7324 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.009e-05/0.3824, allocations: 0.5 kB / 0.7324 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.3825, allocations: 4.438 kB / 0.7324 GB, free: 28.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.3825, allocations: 8.266 kB / 0.7324 GB, free: 28.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.3829, allocations: 47.58 kB / 0.7325 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.722e-05/0.383, allocations: 25.48 kB / 0.7325 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.383, allocations: 4.484 kB / 0.7325 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.3831, allocations: 10.05 kB / 0.7325 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.3831, allocations: 19.62 kB / 0.7325 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3831, allocations: 4.938 kB / 0.7325 GB, free: 28.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.3832, allocations: 19.16 kB / 0.7326 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.3832, allocations: 3.859 kB / 0.7326 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.3832, allocations: 4.25 kB / 0.7326 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3834, allocations: 31.38 kB / 0.7326 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3834, allocations: 0.5312 kB / 0.7326 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3834, allocations: 0 / 0.7326 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3834, allocations: 0.5938 kB / 0.7326 GB, free: 28.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003214/0.3837, allocations: 261.8 kB / 0.7329 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3837, allocations: 9.938 kB / 0.7329 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.3838, allocations: 31.28 kB / 0.7329 GB, free: 27.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.3838, allocations: 7.031 kB / 0.7329 GB, free: 27.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.581e-05/0.3839, allocations: 103.9 kB / 0.733 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.3839, allocations: 57.86 kB / 0.7331 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.3839, allocations: 5.906 kB / 0.7331 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.429e-05/0.384, allocations: 39.36 kB / 0.7331 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.384, allocations: 192 / 0.7331 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.384, allocations: 0.9375 kB / 0.7331 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.384, allocations: 4.438 kB / 0.7331 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.3841, allocations: 15.16 kB / 0.7331 GB, free: 27.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.3842, allocations: 124.2 kB / 0.7332 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/0.3843, allocations: 30.83 kB / 0.7333 GB, free: 27.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.3843, allocations: 13.67 kB / 0.7333 GB, free: 27.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.3844, allocations: 12.02 kB / 0.7333 GB, free: 27.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.3844, allocations: 36.44 kB / 0.7333 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3844, allocations: 0 / 0.7333 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001619/0.3846, allocations: 66.75 kB / 0.7334 GB, free: 27.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.3846, allocations: 52.53 kB / 0.7334 GB, free: 27.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.775e-05/0.3846, allocations: 97.16 kB / 0.7335 GB, free: 27.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.3846, allocations: 30.36 kB / 0.7336 GB, free: 27.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-06/0.3847, allocations: 84.72 kB / 0.7336 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.3847, allocations: 16.77 kB / 0.7337 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.3847, allocations: 13.75 kB / 0.7337 GB, free: 27.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.657e-05/0.3847, allocations: 315.9 kB / 0.734 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.3848, allocations: 13.53 kB / 0.734 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.3848, allocations: 8.406 kB / 0.734 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.3848, allocations: 22.69 kB / 0.734 GB, free: 26.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3848, allocations: 4.469 kB / 0.734 GB, free: 26.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.203e-05/0.3849, allocations: 49.94 kB / 0.7341 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3849, allocations: 5.562 kB / 0.7341 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3849, allocations: 0 / 0.7341 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3849, allocations: 4.469 kB / 0.7341 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.385, allocations: 5.406 kB / 0.7341 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.385, allocations: 0.5312 kB / 0.7341 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.385, allocations: 8.531 kB / 0.7341 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.385, allocations: 4.969 kB / 0.7341 GB, free: 26.72 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 3.56e-05/0.3851, allocations: 112.7 kB / 0.7342 GB, free: 26.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-06/0.3851, allocations: 1.656 kB / 0.7342 GB, free: 26.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.3852, allocations: 54.41 kB / 0.7343 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3852, allocations: 3.938 kB / 0.7343 GB, free: 26.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3852, allocations: 1.281 kB / 0.7343 GB, free: 26.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3852, allocations: 0 / 0.7343 GB, free: 26.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.488e-05/0.3852, allocations: 127.6 kB / 0.7344 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3852, allocations: 5.188 kB / 0.7344 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.3852, allocations: 7.844 kB / 0.7344 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3852, allocations: 1.062 kB / 0.7344 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3852, allocations: 3.625 kB / 0.7344 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3852, allocations: 5.062 kB / 0.7344 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3853, allocations: 0 / 0.7344 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.814e-05/0.3853, allocations: 80.17 kB / 0.7345 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.3853, allocations: 2.438 kB / 0.7345 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.3854, allocations: 0 / 0.7345 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.3854, allocations: 9.031 kB / 0.7345 GB, free: 26.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.3854, allocations: 9.422 kB / 0.7345 GB, free: 26.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3854, allocations: 1.094 kB / 0.7345 GB, free: 26.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.296e-05/0.3854, allocations: 82.36 kB / 0.7346 GB, free: 26.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3854, allocations: 0 / 0.7346 GB, free: 26.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001311/0.3855, allocations: 12.47 kB / 0.7346 GB, free: 26.23 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.0002217/0.3858, allocations: 0.6191 MB / 0.7352 GB, free: 25.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.875e-05/0.3859, allocations: 20.53 kB / 0.7352 GB, free: 25.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3859, allocations: 0 / 0.7352 GB, free: 25.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.3859, allocations: 14.97 kB / 0.7352 GB, free: 25.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.3861, allocations: 16.38 kB / 0.7352 GB, free: 25.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3864, allocations: 154.8 kB / 0.7354 GB, free: 25.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.567e-05/0.3864, allocations: 60.17 kB / 0.7354 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.3864, allocations: 6.344 kB / 0.7355 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.3865, allocations: 10.97 kB / 0.7355 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of SimCode: time 8.71e-07/0.3865, allocations: 0 / 0.7355 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.4008, allocations: 2.021 MB / 0.7374 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.277, allocations: 4.766 kB / 0.7374 GB, free: 24.51 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.943138103932142] Failed to read output from testmodel.py, exit status != 0: 7.357959509827197 7.369605941 6.983676014 Calling exit ...