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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.445/2.445, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.293/1.293, allocations: 132.2 MB / 423.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007682/0.0007687, allocations: 15.92 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9459/0.9467, allocations: 81.57 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004169/0.951, allocations: 1.517 MB / 0.5844 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3117/1.263, allocations: 130.9 MB / 0.7123 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005022/1.263, allocations: 4 kB / 0.7123 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003445/1.264, allocations: 23.8 kB / 0.7123 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005774/1.264, allocations: 75.73 kB / 0.7124 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/1.266, allocations: 215.5 kB / 0.7126 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004997/1.267, allocations: 163.6 kB / 0.7128 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/1.267, allocations: 48.53 kB / 0.7128 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/1.268, allocations: 155.6 kB / 0.713 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/1.268, allocations: 75.67 kB / 0.713 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/1.268, allocations: 8 kB / 0.713 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007288/1.269, allocations: 175.8 kB / 0.7132 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/1.269, allocations: 31.89 kB / 0.7132 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/1.269, allocations: 53.64 kB / 0.7133 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005765/1.27, allocations: 187.5 kB / 0.7135 GB, free: 10.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/1.27, allocations: 0 / 0.7135 GB, free: 10.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.53e-06/1.27, allocations: 4 kB / 0.7135 GB, free: 10.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.27, allocations: 0 / 0.7135 GB, free: 10.64 MB / 0.545 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.001922/1.272, allocations: 499 kB / 0.714 GB, free: 10.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001011/1.272, allocations: 8.031 kB / 0.714 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/1.272, allocations: 50.55 kB / 0.714 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/1.273, allocations: 83.72 kB / 0.7141 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/1.274, allocations: 222.6 kB / 0.7143 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/1.274, allocations: 46.02 kB / 0.7143 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/1.274, allocations: 15.95 kB / 0.7144 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.275, allocations: 267.2 kB / 0.7146 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.276, allocations: 4 kB / 0.7146 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/1.276, allocations: 7.984 kB / 0.7146 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/1.276, allocations: 4 kB / 0.7146 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/1.276, allocations: 183.8 kB / 0.7148 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/1.28, allocations: 1.177 MB / 0.716 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/1.281, allocations: 214.6 kB / 0.7162 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/1.281, allocations: 4 kB / 0.7162 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/1.281, allocations: 34.56 kB / 0.7162 GB, free: 7.625 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 3.296e-06/1.281, allocations: 4 kB / 0.7162 GB, free: 7.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.004526/1.286, allocations: 0.6397 MB / 0.7168 GB, free: 6.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/1.286, allocations: 59.41 kB / 0.7169 GB, free: 6.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/1.287, allocations: 194.4 kB / 0.7171 GB, free: 6.664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/1.287, allocations: 29.7 kB / 0.7171 GB, free: 6.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/1.287, allocations: 139.5 kB / 0.7172 GB, free: 6.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/1.287, allocations: 43.44 kB / 0.7173 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/1.287, allocations: 4 kB / 0.7173 GB, free: 6.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003613/1.287, allocations: 322.8 kB / 0.7176 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/1.288, allocations: 83.88 kB / 0.7177 GB, free: 6.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/1.288, allocations: 135.7 kB / 0.7178 GB, free: 5.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/1.289, allocations: 85.94 kB / 0.7179 GB, free: 5.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/1.289, allocations: 4 kB / 0.7179 GB, free: 5.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002473/1.291, allocations: 382.7 kB / 0.7182 GB, free: 5.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/1.291, allocations: 8 kB / 0.7182 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.291, allocations: 0 / 0.7182 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/1.293, allocations: 165.8 kB / 0.7184 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/1.294, allocations: 47.89 kB / 0.7185 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006175/1.3, allocations: 3.059 MB / 0.7214 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/1.3, allocations: 31.73 kB / 0.7215 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/1.3, allocations: 15.98 kB / 0.7215 GB, free: 1.793 MB / 0.545 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 () * Number of clocked 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 0.0002283/1.301, allocations: 129.8 kB / 0.7216 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/1.301, allocations: 19.8 kB / 0.7216 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/1.302, allocations: 387 kB / 0.722 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.302, allocations: 4 kB / 0.722 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.302, allocations: 0 / 0.722 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/1.302, allocations: 3.984 kB / 0.722 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/1.303, allocations: 281.3 kB / 0.7223 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.303, allocations: 0 / 0.7223 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/1.303, allocations: 19.98 kB / 0.7223 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009991/1.304, allocations: 169.5 kB / 0.7225 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/1.304, allocations: 0 / 0.7225 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/1.308, allocations: 3.1 MB / 0.7255 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.308, allocations: 7.891 kB / 0.7255 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/1.31, allocations: 444.8 kB / 0.7259 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/1.31, allocations: 108.9 kB / 0.726 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/1.31, allocations: 8 kB / 0.726 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/1.31, allocations: 19.98 kB / 0.726 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.311, allocations: 23.91 kB / 0.7261 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/1.311, allocations: 4 kB / 0.7261 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002455/1.311, allocations: 152.5 kB / 0.7262 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.7e-07/1.311, allocations: 0 / 0.7262 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000589/1.312, allocations: 75.84 kB / 0.7263 GB, free: 12.49 MB / 0.5606 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 (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.001998/1.314, allocations: 0.9831 MB / 0.7272 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001304/1.315, allocations: 451.5 kB / 0.7277 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.315, allocations: 4 kB / 0.7277 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007664/1.316, allocations: 361.3 kB / 0.728 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/1.316, allocations: 43.95 kB / 0.7281 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/1.32, allocations: 2.38 MB / 0.7304 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/1.321, allocations: 0.7363 MB / 0.7311 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002627/1.321, allocations: 38.16 kB / 0.7311 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.321, allocations: 47.42 kB / 0.7312 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/1.321, allocations: 4 kB / 0.7312 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/1.346, allocations: 6.623 MB / 0.7377 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/1.346, allocations: 214.1 kB / 0.7379 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/4.622, allocations: 4 kB / 0.7379 GB, free: 0.6836 MB / 0.5606 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) Environment - environmentSimulation: