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.007476/0.007476, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001309/0.001309, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.861/0.861, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.78 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1629, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003308/0.1662, allocations: 1.877 MB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5532/0.7195, allocations: 155.4 MB / 0.8128 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.7197, allocations: 3.719 kB / 0.8128 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.72, allocations: 25.39 kB / 0.8128 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.7203, allocations: 62.72 kB / 0.8129 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.721, allocations: 268.7 kB / 0.8131 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.7213, allocations: 251.4 kB / 0.8134 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.7216, allocations: 63.69 kB / 0.8134 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.723, allocations: 247.5 kB / 0.8137 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.7232, allocations: 89.75 kB / 0.8138 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.7233, allocations: 18.28 kB / 0.8138 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.7236, allocations: 182.3 kB / 0.8139 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.7237, allocations: 44.69 kB / 0.814 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.585e-05/0.7238, allocations: 87.64 kB / 0.8141 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.7243, allocations: 282 kB / 0.8143 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.7243, allocations: 0 / 0.8143 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7243, allocations: 1.031 kB / 0.8143 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7243, allocations: 0 / 0.8143 GB, free: 10.66 MB / 0.5919 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.0009907/0.7253, allocations: 0.5132 MB / 0.8148 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.7254, allocations: 9.719 kB / 0.8149 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.997e-05/0.7254, allocations: 48.75 kB / 0.8149 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.7263, allocations: 87.81 kB / 0.815 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.7266, allocations: 225.6 kB / 0.8152 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.7267, allocations: 41.06 kB / 0.8152 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.7268, allocations: 21.44 kB / 0.8153 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.7274, allocations: 259.6 kB / 0.8155 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.7274, allocations: 7.875 kB / 0.8155 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.7275, allocations: 6.938 kB / 0.8155 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.7275, allocations: 4.406 kB / 0.8155 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.728, allocations: 169.2 kB / 0.8157 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.7298, allocations: 1.176 MB / 0.8168 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.7305, allocations: 203.6 kB / 0.817 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.7307, allocations: 76.84 kB / 0.8171 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.7308, allocations: 2.719 kB / 0.8171 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.7308, allocations: 36.59 kB / 0.8171 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.7308, allocations: 0 / 0.8171 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002678/0.7335, allocations: 0.6258 MB / 0.8178 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.7336, allocations: 57.22 kB / 0.8178 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.7338, allocations: 210.7 kB / 0.818 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.7339, allocations: 25.7 kB / 0.818 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.734, allocations: 138.7 kB / 0.8182 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.7341, allocations: 43.27 kB / 0.8182 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.667e-05/0.7342, allocations: 47.56 kB / 0.8182 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.7343, allocations: 332.2 kB / 0.8186 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.7346, allocations: 73.95 kB / 0.8186 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.7349, allocations: 127.3 kB / 0.8188 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.7353, allocations: 202.7 kB / 0.819 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.7353, allocations: 0 / 0.819 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00142/0.7367, allocations: 374.7 kB / 0.8193 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7368, allocations: 4.469 kB / 0.8193 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.7368, allocations: 2.938 kB / 0.8193 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.7379, allocations: 165.1 kB / 0.8195 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.7381, allocations: 44.64 kB / 0.8195 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.7424, allocations: 3.254 MB / 0.8227 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.7428, allocations: 36.89 kB / 0.8227 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.7429, allocations: 15.3 kB / 0.8227 GB, free: 4.047 MB / 0.5919 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.0001531/0.743, allocations: 123.8 kB / 0.8229 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.7431, allocations: 13.94 kB / 0.8229 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.7444, allocations: 381.8 kB / 0.8232 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7444, allocations: 2.875 kB / 0.8232 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.7445, allocations: 0 / 0.8232 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7445, allocations: 0 / 0.8232 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.7448, allocations: 274.2 kB / 0.8235 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.7448, allocations: 2.875 kB / 0.8235 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.745, allocations: 27.52 kB / 0.8235 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008547/0.7458, allocations: 141 kB / 0.8237 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7458, allocations: 8 kB / 0.8237 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/0.7498, allocations: 3.302 MB / 0.8269 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7498, allocations: 4.109 kB / 0.8269 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.7511, allocations: 431.4 kB / 0.8273 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.7513, allocations: 110.5 kB / 0.8274 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.7513, allocations: 7.938 kB / 0.8274 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.7516, allocations: 11.95 kB / 0.8274 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.7517, allocations: 22.75 kB / 0.8275 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.7517, allocations: 5.812 kB / 0.8275 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001865/0.7519, allocations: 153.8 kB / 0.8276 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7519, allocations: 0 / 0.8276 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004234/0.7524, allocations: 73.55 kB / 0.8277 GB, free: 15.54 MB / 0.6075 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.001754/0.7541, allocations: 0.9657 MB / 0.8286 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.7552, allocations: 448.6 kB / 0.8291 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7553, allocations: 0 / 0.8291 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007141/0.756, allocations: 367.5 kB / 0.8294 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.7564, allocations: 65.7 kB / 0.8295 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.7616, allocations: 2.505 MB / 0.8319 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.762, allocations: 0.7267 MB / 0.8326 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.7622, allocations: 36.89 kB / 0.8327 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.7623, allocations: 53.84 kB / 0.8327 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.7623, allocations: 4 kB / 0.8327 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.8, allocations: 7.282 MB / 0.8398 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.98, allocations: 10.78 kB / 0.8398 GB, free: 7.652 MB / 0.6075 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/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)