Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.0014/0.0014, allocations: 178.4 kB / 7.65 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.7624/0.7624, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.563/1.563, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008169/0.0008169, allocations: 102 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.278e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4805, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.179/4.66, allocations: 1.693 GB / 2.327 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/4.66, allocations: 83.95 kB / 2.327 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6147/5.275, allocations: 85.14 MB / 2.41 GB, free: 237.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/5.275, allocations: 0 / 2.41 GB, free: 237.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.873e-05/5.275, allocations: 9.625 kB / 2.41 GB, free: 237.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000912/5.276, allocations: 0.4942 MB / 2.411 GB, free: 237.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/5.276, allocations: 12.62 kB / 2.411 GB, free: 237.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000819/5.276, allocations: 81.61 kB / 2.411 GB, free: 237.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/5.277, allocations: 227.6 kB / 2.411 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/5.277, allocations: 39.94 kB / 2.411 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/5.277, allocations: 11.53 kB / 2.411 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002525/5.277, allocations: 108 kB / 2.411 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/5.278, allocations: 219.6 kB / 2.412 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/5.278, allocations: 1.781 kB / 2.412 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/5.278, allocations: 4.219 kB / 2.412 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/5.278, allocations: 4.375 kB / 2.412 GB, free: 237 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/5.279, allocations: 1.142 MB / 2.413 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/5.28, allocations: 187.5 kB / 2.413 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/5.28, allocations: 55.73 kB / 2.413 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/5.28, allocations: 4.844 kB / 2.413 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/5.28, allocations: 39.89 kB / 2.413 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/5.28, allocations: 0 / 2.413 GB, free: 236.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.001304/5.281, allocations: 261.7 kB / 2.413 GB, free: 236 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/5.282, allocations: 58.47 kB / 2.413 GB, free: 236 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/5.282, allocations: 139.3 kB / 2.413 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/5.282, allocations: 26.2 kB / 2.414 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/5.282, allocations: 145.8 kB / 2.414 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/5.282, allocations: 43.47 kB / 2.414 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/5.282, allocations: 3.938 kB / 2.414 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/5.282, allocations: 327.2 kB / 2.414 GB, free: 235.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/5.282, allocations: 46.27 kB / 2.414 GB, free: 235.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/5.282, allocations: 115.4 kB / 2.414 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/5.282, allocations: 62.92 kB / 2.414 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/5.282, allocations: 2.844 kB / 2.414 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001305/5.284, allocations: 317.7 kB / 2.415 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/5.284, allocations: 5.25 kB / 2.415 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/5.284, allocations: 2.188 kB / 2.415 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/5.285, allocations: 170 kB / 2.415 GB, free: 235.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/5.285, allocations: 36.89 kB / 2.415 GB, free: 235.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/5.288, allocations: 2.893 MB / 2.418 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/5.288, allocations: 38.34 kB / 2.418 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/5.288, allocations: 6.406 kB / 2.418 GB, free: 232.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 8.848e-05/5.288, allocations: 109.3 kB / 2.418 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001068/5.289, allocations: 262.2 kB / 2.418 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/5.29, allocations: 14.25 kB / 2.418 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/5.291, allocations: 333.4 kB / 2.418 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/5.291, allocations: 7.906 kB / 2.418 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/5.291, allocations: 0 / 2.418 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/5.291, allocations: 0 / 2.418 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/5.291, allocations: 237 kB / 2.419 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/5.291, allocations: 0 / 2.419 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/5.291, allocations: 29.08 kB / 2.419 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/5.292, allocations: 163.6 kB / 2.419 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/5.292, allocations: 3.938 kB / 2.419 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/5.295, allocations: 2.932 MB / 2.422 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.295, allocations: 0 / 2.422 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/5.296, allocations: 384.9 kB / 2.422 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/5.296, allocations: 110.6 kB / 2.422 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/5.296, allocations: 11.89 kB / 2.422 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/5.297, allocations: 14.97 kB / 2.422 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/5.297, allocations: 20.61 kB / 2.422 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/5.297, allocations: 10.8 kB / 2.422 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.294e-05/5.297, allocations: 115.8 kB / 2.422 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/5.297, allocations: 0 / 2.422 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006192/5.297, allocations: 109 kB / 2.422 GB, free: 229.6 MB / 0.6823 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002307/5.3, allocations: 1.631 MB / 2.424 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008259/5.301, allocations: 387.3 kB / 2.424 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/5.301, allocations: 1.219 kB / 2.424 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/5.301, allocations: 327.3 kB / 2.425 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/5.301, allocations: 35.14 kB / 2.425 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/5.303, allocations: 342.5 kB / 2.425 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/5.303, allocations: 0.7344 MB / 2.426 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002142/5.303, allocations: 35.95 kB / 2.426 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/5.303, allocations: 56.25 kB / 2.426 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/5.303, allocations: 0 / 2.426 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/5.335, allocations: 11.45 MB / 2.437 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/5.335, allocations: 136.8 kB / 2.437 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/7.407, allocations: 0 / 2.437 GB, free: 226.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)