Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009261/0.000926, allocations: 107.4 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.784e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4726, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.6126, allocations: 112.6 MB / 0.7439 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.6129, allocations: 83.88 kB / 0.7439 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008179/0.6211, allocations: 2.526 MB / 0.7464 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6211, allocations: 0 / 0.7464 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.6212, allocations: 0 / 0.7464 GB, free: 7.512 MB / 0.5261 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.0005597/0.6217, allocations: 402.3 kB / 0.7468 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.6218, allocations: 8.031 kB / 0.7468 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.6218, allocations: 11.98 kB / 0.7468 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.622, allocations: 170.9 kB / 0.747 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.622, allocations: 4 kB / 0.747 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.622, allocations: 0 / 0.747 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/0.6222, allocations: 23.94 kB / 0.747 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.6223, allocations: 45.69 kB / 0.747 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6223, allocations: 0 / 0.747 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6223, allocations: 3.984 kB / 0.747 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6223, allocations: 0 / 0.747 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.6227, allocations: 265.4 kB / 0.7473 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.6228, allocations: 30.52 kB / 0.7473 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.6228, allocations: 12.86 kB / 0.7473 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.623, allocations: 93.19 kB / 0.7474 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.623, allocations: 38.56 kB / 0.7475 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.6231, allocations: 0 / 0.7475 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000403/0.6235, allocations: 73.56 kB / 0.7475 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.6235, allocations: 55.41 kB / 0.7476 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.6236, allocations: 100.9 kB / 0.7477 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.6237, allocations: 25.7 kB / 0.7477 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.6237, allocations: 88.12 kB / 0.7478 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.6238, allocations: 15.75 kB / 0.7478 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.6238, allocations: 3.938 kB / 0.7478 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6239, allocations: 326.7 kB / 0.7481 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.624, allocations: 8 kB / 0.7481 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.624, allocations: 12 kB / 0.7481 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.6242, allocations: 31.95 kB / 0.7482 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6242, allocations: 0 / 0.7482 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002407/0.6244, allocations: 73.66 kB / 0.7482 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6245, allocations: 4 kB / 0.7482 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6245, allocations: 0 / 0.7482 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6245, allocations: 0 / 0.7482 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.6247, allocations: 27.98 kB / 0.7483 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6247, allocations: 0 / 0.7483 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.6248, allocations: 19.98 kB / 0.7483 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.6248, allocations: 4 kB / 0.7483 GB, free: 5.355 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.87e-05/0.6249, allocations: 108.9 kB / 0.7484 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002582/0.6251, allocations: 81.5 kB / 0.7485 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.6252, allocations: 0 / 0.7485 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.6255, allocations: 85.98 kB / 0.7486 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6255, allocations: 0 / 0.7486 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6255, allocations: 0 / 0.7486 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6255, allocations: 3.953 kB / 0.7486 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.6257, allocations: 150.2 kB / 0.7487 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6257, allocations: 0 / 0.7487 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.6258, allocations: 23.98 kB / 0.7487 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.6258, allocations: 0 / 0.7487 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.6258, allocations: 7.938 kB / 0.7487 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6258, allocations: 0 / 0.7487 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6258, allocations: 0 / 0.7487 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.6262, allocations: 179.6 kB / 0.7489 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.6262, allocations: 81.11 kB / 0.749 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.6263, allocations: 0 / 0.749 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.6264, allocations: 19.97 kB / 0.749 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.6265, allocations: 4 kB / 0.749 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.6265, allocations: 0 / 0.749 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.6265, allocations: 95.58 kB / 0.7491 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.813e-06/0.6265, allocations: 0 / 0.7491 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002954/0.6268, allocations: 39.78 kB / 0.7491 GB, free: 4.402 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007571/0.6276, allocations: 0.7397 MB / 0.7499 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.6277, allocations: 24 kB / 0.7499 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6277, allocations: 0 / 0.7499 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.6278, allocations: 15.94 kB / 0.7499 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.628, allocations: 9.875 kB / 0.7499 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.6285, allocations: 129.4 kB / 0.75 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.6288, allocations: 0.6807 MB / 0.7507 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.6288, allocations: 7.984 kB / 0.7507 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.6289, allocations: 15.42 kB / 0.7507 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6289, allocations: 4 kB / 0.7507 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.6579, allocations: 1.598 MB / 0.7523 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.6582, allocations: 120 kB / 0.7524 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.301, allocations: 0 / 0.7524 GB, free: 0.918 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)