Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000862/0.000862, 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.0009966/0.0009966, allocations: 170.3 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.931/0.931, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7557/0.7557, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.34e-05, allocations: 2.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001828/0.001852, allocations: 1.3 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4209/0.4228, allocations: 115.8 MB / 0.7324 GB, free: 28.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.4228, allocations: 0 / 0.7324 GB, free: 28.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.4229, allocations: 0.6562 kB / 0.7324 GB, free: 28.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.4229, allocations: 19.16 kB / 0.7324 GB, free: 28.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.4233, allocations: 50.55 kB / 0.7324 GB, free: 28.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.4234, allocations: 21.91 kB / 0.7325 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.4234, allocations: 5.969 kB / 0.7325 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.4235, allocations: 13.39 kB / 0.7325 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.4236, allocations: 8.047 kB / 0.7325 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.4236, allocations: 0.7812 kB / 0.7325 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.4237, allocations: 21.94 kB / 0.7325 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.4237, allocations: 4.781 kB / 0.7325 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.4237, allocations: 3.906 kB / 0.7325 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.4238, allocations: 31.5 kB / 0.7325 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4238, allocations: 0.5312 kB / 0.7325 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4238, allocations: 0.5312 kB / 0.7325 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4238, allocations: 0 / 0.7325 GB, free: 28.29 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.0003267/0.4242, allocations: 258 kB / 0.7328 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4242, allocations: 11.09 kB / 0.7328 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.439e-05/0.4242, allocations: 39.34 kB / 0.7328 GB, free: 27.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.4243, allocations: 11.25 kB / 0.7329 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.818e-05/0.4244, allocations: 106.7 kB / 0.733 GB, free: 27.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.4245, allocations: 58.81 kB / 0.733 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.4245, allocations: 1.688 kB / 0.733 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.4246, allocations: 42.73 kB / 0.7331 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4246, allocations: 0.7188 kB / 0.7331 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.4246, allocations: 384 / 0.7331 GB, free: 27.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4246, allocations: 4.531 kB / 0.7331 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.581e-05/0.4247, allocations: 18.95 kB / 0.7331 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.4248, allocations: 121.3 kB / 0.7332 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.488e-05/0.4248, allocations: 26.39 kB / 0.7332 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.4249, allocations: 20.5 kB / 0.7332 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.4249, allocations: 0.7188 kB / 0.7332 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.4249, allocations: 31.69 kB / 0.7333 GB, free: 27.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.4249, allocations: 0.625 kB / 0.7333 GB, free: 27.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001657/0.4251, allocations: 67.08 kB / 0.7333 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.4251, allocations: 55.91 kB / 0.7334 GB, free: 27.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.693e-05/0.4251, allocations: 100.5 kB / 0.7335 GB, free: 27.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-06/0.4251, allocations: 26.2 kB / 0.7335 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.024e-05/0.4251, allocations: 80.64 kB / 0.7336 GB, free: 27.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4252, allocations: 21.09 kB / 0.7336 GB, free: 27.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.4252, allocations: 16.44 kB / 0.7336 GB, free: 27.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.891e-05/0.4252, allocations: 311.9 kB / 0.7339 GB, free: 26.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.4252, allocations: 8.312 kB / 0.7339 GB, free: 26.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.4253, allocations: 8.328 kB / 0.7339 GB, free: 26.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.427e-05/0.4253, allocations: 22.41 kB / 0.734 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4253, allocations: 4.625 kB / 0.734 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.221e-05/0.4254, allocations: 49.73 kB / 0.734 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4254, allocations: 5.469 kB / 0.734 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4254, allocations: 4.562 kB / 0.734 GB, free: 26.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4254, allocations: 4.5 kB / 0.734 GB, free: 26.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.4255, allocations: 4.531 kB / 0.734 GB, free: 26.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.4255, allocations: 0.5 kB / 0.734 GB, free: 26.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.4255, allocations: 2.031 kB / 0.734 GB, free: 26.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4255, allocations: 0.6875 kB / 0.734 GB, free: 26.78 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.934e-05/0.4256, allocations: 115.8 kB / 0.7341 GB, free: 26.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-06/0.4256, allocations: 5.156 kB / 0.7341 GB, free: 26.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.4256, allocations: 4.688 kB / 0.7341 GB, free: 26.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.4256, allocations: 8.438 kB / 0.7342 GB, free: 26.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4256, allocations: 0.5 kB / 0.7342 GB, free: 26.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4256, allocations: 0.5 kB / 0.7342 GB, free: 26.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.84e-05/0.4256, allocations: 124 kB / 0.7343 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4256, allocations: 3.531 kB / 0.7343 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.4257, allocations: 8.5 kB / 0.7343 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.4257, allocations: 0.5938 kB / 0.7343 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.4257, allocations: 0.7812 kB / 0.7343 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4257, allocations: 4.531 kB / 0.7343 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4257, allocations: 0 / 0.7343 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.4257, allocations: 86.98 kB / 0.7344 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.4258, allocations: 1.125 kB / 0.7344 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.4258, allocations: 1.125 kB / 0.7344 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.4258, allocations: 7.531 kB / 0.7344 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.4258, allocations: 5.609 kB / 0.7344 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.4258, allocations: 0 / 0.7344 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.33e-05/0.4258, allocations: 82.47 kB / 0.7345 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4258, allocations: 0 / 0.7345 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001131/0.426, allocations: 5.469 kB / 0.7345 GB, free: 26.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 (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.0001709/0.4261, allocations: 0.6091 MB / 0.7351 GB, free: 25.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.4262, allocations: 23.53 kB / 0.7351 GB, free: 25.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.4262, allocations: 0 / 0.7351 GB, free: 25.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.4262, allocations: 18.3 kB / 0.7351 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.4264, allocations: 9.562 kB / 0.7351 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.4267, allocations: 143 kB / 0.7353 GB, free: 25.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.4268, allocations: 64.44 kB / 0.7353 GB, free: 25.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.4268, allocations: 1.312 kB / 0.7353 GB, free: 25.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.4268, allocations: 9.938 kB / 0.7353 GB, free: 25.47 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4268, allocations: 0 / 0.7353 GB, free: 25.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.4421, allocations: 1.934 MB / 0.7372 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/7.369, allocations: 5.312 kB / 0.7372 GB, free: 24.61 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.137124783359468] Failed to read output from testmodel.py, exit status != 0: 7.452228446491063 7.462526389 7.036819091 Calling exit ...