Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008811/0.0008811, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008543/0.0008543, allocations: 222.3 kB / 22.26 MB, free: 3.688 MB / 13.93 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.9525/0.9525, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.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.8192/0.8192, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [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.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 63.38 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.562, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002205/0.5642, allocations: 1.53 MB / 0.8193 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1266/0.6907, allocations: 135.3 MB / 0.9514 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.6908, allocations: 7.828 kB / 0.9514 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.6909, allocations: 3.938 kB / 0.9514 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.6909, allocations: 11.86 kB / 0.9515 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.6913, allocations: 67.7 kB / 0.9515 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.6914, allocations: 51.8 kB / 0.9516 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.6915, allocations: 15.97 kB / 0.9516 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.6916, allocations: 23.92 kB / 0.9516 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.6916, allocations: 23.92 kB / 0.9516 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.6916, allocations: 4 kB / 0.9516 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.6917, allocations: 31.92 kB / 0.9517 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.6917, allocations: 11.92 kB / 0.9517 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.6918, allocations: 23.88 kB / 0.9517 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.6919, allocations: 62.05 kB / 0.9518 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6919, allocations: 0 / 0.9518 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6919, allocations: 0 / 0.9518 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.6919, allocations: 0 / 0.9518 GB, free: 12.47 MB / 0.7292 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.0006921/0.6926, allocations: 294.2 kB / 0.952 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6927, allocations: 8.031 kB / 0.952 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.6927, allocations: 38.69 kB / 0.9521 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.6928, allocations: 16.88 kB / 0.9521 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.6929, allocations: 118.4 kB / 0.9522 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.6929, allocations: 4.375 kB / 0.9522 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.6929, allocations: 4.375 kB / 0.9522 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.6931, allocations: 78.2 kB / 0.9523 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.6931, allocations: 3.938 kB / 0.9523 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.6931, allocations: 0 / 0.9523 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6931, allocations: 4 kB / 0.9523 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.6933, allocations: 67.92 kB / 0.9524 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.6936, allocations: 263.8 kB / 0.9526 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.6938, allocations: 54.55 kB / 0.9527 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.6938, allocations: 36.91 kB / 0.9527 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.6939, allocations: 8 kB / 0.9527 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.6939, allocations: 30.56 kB / 0.9527 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.6939, allocations: 0 / 0.9527 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003054/0.6942, allocations: 133.5 kB / 0.9529 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.6942, allocations: 59.34 kB / 0.9529 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.6943, allocations: 121.7 kB / 0.953 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.6943, allocations: 25.7 kB / 0.9531 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.6943, allocations: 96.09 kB / 0.9532 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.6944, allocations: 11.88 kB / 0.9532 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.6944, allocations: 13.72 kB / 0.9532 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.6945, allocations: 318.8 kB / 0.9535 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.6945, allocations: 39.95 kB / 0.9535 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.6946, allocations: 27.97 kB / 0.9536 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.6947, allocations: 72.72 kB / 0.9536 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6947, allocations: 0 / 0.9536 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001642/0.6949, allocations: 101.6 kB / 0.9537 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6949, allocations: 4 kB / 0.9537 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.6949, allocations: 0 / 0.9537 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.6949, allocations: 4 kB / 0.9537 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.695, allocations: 23.91 kB / 0.9538 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.695, allocations: 0 / 0.9538 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.6951, allocations: 15.98 kB / 0.9538 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.6951, allocations: 0 / 0.9538 GB, free: 10.22 MB / 0.7292 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.959e-05/0.6951, allocations: 113.8 kB / 0.9539 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.6951, allocations: 7.953 kB / 0.9539 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.6952, allocations: 8 kB / 0.9539 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.6952, allocations: 0 / 0.9539 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6952, allocations: 4 kB / 0.9539 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6952, allocations: 3.984 kB / 0.9539 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.6953, allocations: 144.7 kB / 0.954 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6953, allocations: 7.938 kB / 0.954 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.6953, allocations: 15.97 kB / 0.9541 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.6953, allocations: 0 / 0.9541 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.6954, allocations: 8 kB / 0.9541 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.6954, allocations: 0 / 0.9541 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6954, allocations: 0 / 0.9541 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.6956, allocations: 191.4 kB / 0.9542 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.6956, allocations: 7.953 kB / 0.9543 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6956, allocations: 4 kB / 0.9543 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.266e-05/0.6956, allocations: 15.97 kB / 0.9543 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.6957, allocations: 0 / 0.9543 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.6957, allocations: 0 / 0.9543 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.6957, allocations: 95.27 kB / 0.9544 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6957, allocations: 4 kB / 0.9544 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001446/0.6959, allocations: 12 kB / 0.9544 GB, free: 9.516 MB / 0.7292 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.0004038/0.6963, allocations: 0.736 MB / 0.9551 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.6965, allocations: 63.97 kB / 0.9552 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6965, allocations: 0 / 0.9552 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.6965, allocations: 47.97 kB / 0.9552 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.6968, allocations: 18.17 kB / 0.9552 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.698, allocations: 1.423 MB / 0.9566 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.6982, allocations: 0.6846 MB / 0.9573 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.6983, allocations: 0 / 0.9573 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.6983, allocations: 19.44 kB / 0.9573 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.6983, allocations: 0 / 0.9573 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.7148, allocations: 2.091 MB / 0.9593 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.423/7.138, allocations: 7.562 kB / 0.9594 GB, free: 4.418 MB / 0.7292 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.147533670067787] Failed to read output from testmodel.py, exit status != 0: 7.216012263903394 7.224092871 6.530183431 Calling exit ...