Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_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.007143/0.007143, allocations: 97.64 kB / 15.73 MB, free: 6.055 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.001572/0.001572, allocations: 197.2 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.6 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.89 kB / 0.5857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5031, allocations: 81.03 MB / 0.6649 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003008/0.5061, allocations: 1.871 MB / 0.6667 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.198/0.7042, allocations: 155.4 MB / 0.8185 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.7044, allocations: 4 kB / 0.8185 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.7047, allocations: 27.72 kB / 0.8185 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.705, allocations: 67.48 kB / 0.8186 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.7058, allocations: 267.1 kB / 0.8188 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.7061, allocations: 267.1 kB / 0.8191 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.7063, allocations: 61.8 kB / 0.8191 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.7078, allocations: 248.5 kB / 0.8194 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.7079, allocations: 91.59 kB / 0.8194 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.708, allocations: 16 kB / 0.8195 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.7084, allocations: 179.8 kB / 0.8196 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.7084, allocations: 43.84 kB / 0.8197 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.7086, allocations: 91.56 kB / 0.8198 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.709, allocations: 272.2 kB / 0.82 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7091, allocations: 0 / 0.82 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7091, allocations: 0 / 0.82 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7091, allocations: 4 kB / 0.82 GB, free: 1.457 MB / 0.6387 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.001014/0.7101, allocations: 0.518 MB / 0.8205 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.7102, allocations: 15.97 kB / 0.8205 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.7102, allocations: 54.55 kB / 0.8206 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008355/0.7111, allocations: 79.81 kB / 0.8207 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.7114, allocations: 222.8 kB / 0.8209 GB, free: 488 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.7115, allocations: 45.97 kB / 0.8209 GB, free: 436 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.7115, allocations: 16 kB / 0.8209 GB, free: 420 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.7121, allocations: 258.6 kB / 0.8212 GB, free: 132 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.7121, allocations: 4 kB / 0.8212 GB, free: 128 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.7121, allocations: 4 kB / 0.8212 GB, free: 124 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.7121, allocations: 4 kB / 0.8212 GB, free: 120 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.7126, allocations: 175.7 kB / 0.8214 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.7144, allocations: 1.173 MB / 0.8225 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.7152, allocations: 206.6 kB / 0.8227 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.7154, allocations: 80.75 kB / 0.8228 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.7154, allocations: 0 / 0.8228 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.7154, allocations: 38.56 kB / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.7155, allocations: 0 / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002725/0.7182, allocations: 0.6297 MB / 0.8234 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.7182, allocations: 51.41 kB / 0.8235 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.7185, allocations: 203.1 kB / 0.8237 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.7185, allocations: 33.7 kB / 0.8237 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.7187, allocations: 135.8 kB / 0.8238 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.7187, allocations: 43.58 kB / 0.8239 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.7188, allocations: 49.62 kB / 0.8239 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.719, allocations: 338.7 kB / 0.8243 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.7192, allocations: 63.95 kB / 0.8243 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.7195, allocations: 132.8 kB / 0.8244 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.7199, allocations: 200.5 kB / 0.8246 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7199, allocations: 0 / 0.8246 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001463/0.7214, allocations: 374.8 kB / 0.825 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.7214, allocations: 10.19 kB / 0.825 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7214, allocations: 224 / 0.825 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.7225, allocations: 165.5 kB / 0.8252 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.7228, allocations: 35.97 kB / 0.8252 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004266/0.727, allocations: 3.258 MB / 0.8284 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.7274, allocations: 31.83 kB / 0.8284 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.7274, allocations: 19.98 kB / 0.8284 GB, free: 8.172 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.7276, allocations: 130.4 kB / 0.8286 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.7277, allocations: 15.91 kB / 0.8286 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.7291, allocations: 372.3 kB / 0.8289 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7291, allocations: 0 / 0.8289 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.7291, allocations: 0 / 0.8289 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.7291, allocations: 4 kB / 0.8289 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.7294, allocations: 265.4 kB / 0.8292 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7294, allocations: 3.938 kB / 0.8292 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.7296, allocations: 23.98 kB / 0.8292 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008593/0.7304, allocations: 153.5 kB / 0.8294 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.7305, allocations: 0 / 0.8294 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/0.7346, allocations: 3.293 MB / 0.8326 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7347, allocations: 0 / 0.8326 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.736, allocations: 447.1 kB / 0.833 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.7362, allocations: 105.1 kB / 0.8331 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.7362, allocations: 15.94 kB / 0.8331 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.7365, allocations: 15.98 kB / 0.8331 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.7366, allocations: 15.97 kB / 0.8331 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.7366, allocations: 8 kB / 0.8332 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002081/0.7368, allocations: 152.8 kB / 0.8333 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7369, allocations: 0 / 0.8333 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004375/0.7373, allocations: 71.89 kB / 0.8334 GB, free: 2.715 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001792/0.7391, allocations: 0.9726 MB / 0.8343 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.7403, allocations: 449.7 kB / 0.8347 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7403, allocations: 0 / 0.8347 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.741, allocations: 359.1 kB / 0.8351 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.7415, allocations: 63.98 kB / 0.8351 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.7467, allocations: 2.509 MB / 0.8376 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.7472, allocations: 0.7323 MB / 0.8383 GB, free: 13.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001893/0.7474, allocations: 33.94 kB / 0.8383 GB, free: 13.37 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.7475, allocations: 59.41 kB / 0.8384 GB, free: 13.31 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.7475, allocations: 0 / 0.8384 GB, free: 13.31 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.7836, allocations: 7.278 MB / 0.8455 GB, free: 6.234 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.72, allocations: 0 / 0.8455 GB, free: 6.234 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)