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.001104/0.001103, allocations: 100 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.001006/0.001006, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.881/0.881, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004177, allocations: 8 kB / 0.5069 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1891, allocations: 82.3 MB / 0.5873 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001844/0.191, allocations: 1.514 MB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6257/0.8167, allocations: 130.9 MB / 0.7166 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.817, allocations: 1.094 kB / 0.7166 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.8173, allocations: 23.47 kB / 0.7166 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.8178, allocations: 70.11 kB / 0.7167 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.819, allocations: 222.2 kB / 0.7169 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.8194, allocations: 155 kB / 0.7171 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.8197, allocations: 61.91 kB / 0.7171 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.8203, allocations: 160.5 kB / 0.7173 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.8205, allocations: 73.38 kB / 0.7173 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.8206, allocations: 5.469 kB / 0.7173 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006942/0.8213, allocations: 177.1 kB / 0.7175 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.8214, allocations: 32.58 kB / 0.7175 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.8215, allocations: 51.48 kB / 0.7176 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.822, allocations: 191.9 kB / 0.7178 GB, free: 13.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8221, allocations: 0 / 0.7178 GB, free: 13.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.906e-06/0.8221, allocations: 0.9375 kB / 0.7178 GB, free: 13.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8221, allocations: 4 kB / 0.7178 GB, free: 13.59 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.001403/0.8235, allocations: 495.9 kB / 0.7182 GB, free: 13.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.8236, allocations: 9.188 kB / 0.7183 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.8237, allocations: 47.7 kB / 0.7183 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.8253, allocations: 78.8 kB / 0.7184 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.8258, allocations: 229.8 kB / 0.7186 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.826, allocations: 38.25 kB / 0.7186 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.826, allocations: 22.59 kB / 0.7187 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/0.827, allocations: 270.7 kB / 0.7189 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.8271, allocations: 4.734 kB / 0.7189 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.8271, allocations: 6.469 kB / 0.7189 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.8272, allocations: 5.125 kB / 0.7189 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.828, allocations: 173.2 kB / 0.7191 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.831, allocations: 1.18 MB / 0.7202 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.8324, allocations: 218.2 kB / 0.7205 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.8325, allocations: 1.594 kB / 0.7205 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/0.8326, allocations: 37.05 kB / 0.7205 GB, free: 11.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 3.115e-06/0.8326, allocations: 0 / 0.7205 GB, free: 11.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.004924/0.8375, allocations: 0.6393 MB / 0.7211 GB, free: 11.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.8376, allocations: 54.48 kB / 0.7212 GB, free: 11.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.8381, allocations: 200.9 kB / 0.7214 GB, free: 10.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.8382, allocations: 27.14 kB / 0.7214 GB, free: 10.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.8384, allocations: 137.4 kB / 0.7215 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.8385, allocations: 41.09 kB / 0.7216 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.8385, allocations: 5.438 kB / 0.7216 GB, free: 10.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.8387, allocations: 325.6 kB / 0.7219 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.8392, allocations: 79.5 kB / 0.7219 GB, free: 10.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.8397, allocations: 134.8 kB / 0.7221 GB, free: 10.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.8402, allocations: 92.77 kB / 0.7222 GB, free: 10.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8402, allocations: 0 / 0.7222 GB, free: 10.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002731/0.8429, allocations: 388 kB / 0.7225 GB, free: 10.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.843, allocations: 6.719 kB / 0.7225 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.843, allocations: 3.219 kB / 0.7225 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.845, allocations: 164.4 kB / 0.7227 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.8455, allocations: 41.98 kB / 0.7227 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/0.8525, allocations: 3.062 MB / 0.7257 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/0.8532, allocations: 41.84 kB / 0.7258 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.8533, allocations: 8.891 kB / 0.7258 GB, free: 7.285 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.0002559/0.8536, allocations: 136.9 kB / 0.7259 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.8537, allocations: 16.72 kB / 0.7259 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.8561, allocations: 374.2 kB / 0.7263 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.8561, allocations: 3.094 kB / 0.7263 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8562, allocations: 3.938 kB / 0.7263 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8562, allocations: 1.219 kB / 0.7263 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.8568, allocations: 286.2 kB / 0.7266 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.8569, allocations: 4 kB / 0.7266 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.8571, allocations: 22.3 kB / 0.7266 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.8587, allocations: 162.5 kB / 0.7267 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.8588, allocations: 5.531 kB / 0.7267 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006344/0.8651, allocations: 3.099 MB / 0.7298 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8652, allocations: 0.6094 kB / 0.7298 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.8676, allocations: 443.9 kB / 0.7302 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.8679, allocations: 111 kB / 0.7303 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.8679, allocations: 1.469 kB / 0.7303 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.8685, allocations: 19.55 kB / 0.7303 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.8686, allocations: 22.45 kB / 0.7303 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.8687, allocations: 5.422 kB / 0.7304 GB, free: 3.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003149/0.869, allocations: 146.3 kB / 0.7305 GB, free: 3.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/0.869, allocations: 3.938 kB / 0.7305 GB, free: 3.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00088/0.8699, allocations: 73.84 kB / 0.7306 GB, free: 3.391 MB / 0.545 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.00283/0.8728, allocations: 0.9862 MB / 0.7315 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.8746, allocations: 454.1 kB / 0.732 GB, free: 2.336 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.8746, allocations: 0 / 0.732 GB, free: 2.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.8758, allocations: 360.4 kB / 0.7323 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.8764, allocations: 55.14 kB / 0.7324 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006176/0.8826, allocations: 2.385 MB / 0.7347 GB, free: 260 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.8832, allocations: 0.7382 MB / 0.7354 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005194/0.8838, allocations: 40.73 kB / 0.7354 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.884, allocations: 52.77 kB / 0.7355 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.884, allocations: 2.562 kB / 0.7355 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.9189, allocations: 6.632 MB / 0.742 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/0.9193, allocations: 215.3 kB / 0.7422 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/3.871, allocations: 7.016 kB / 0.7422 GB, free: 12.91 MB / 0.5606 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/linux/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) Environment - environmentSimulation: