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.009049/0.009048, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002644/0.002644, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9842/0.9842, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 71.89 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.446, allocations: 80.91 MB / 0.6641 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003232/0.4493, allocations: 1.894 MB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1622/0.6116, allocations: 155.4 MB / 0.8178 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.6119, allocations: 8 kB / 0.8178 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.6122, allocations: 23.73 kB / 0.8178 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.6127, allocations: 67.48 kB / 0.8179 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.6137, allocations: 263.1 kB / 0.8181 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.6141, allocations: 259.2 kB / 0.8184 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.6143, allocations: 65.8 kB / 0.8184 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.6156, allocations: 245.3 kB / 0.8186 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.6158, allocations: 91.59 kB / 0.8187 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.6158, allocations: 16 kB / 0.8188 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.6162, allocations: 179.8 kB / 0.8189 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.6163, allocations: 47.88 kB / 0.819 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.6164, allocations: 83.59 kB / 0.819 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.6171, allocations: 280.2 kB / 0.8193 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.6171, allocations: 4 kB / 0.8193 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6171, allocations: 0 / 0.8193 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6171, allocations: 0 / 0.8193 GB, free: 2.168 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.001163/0.6183, allocations: 0.518 MB / 0.8198 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6183, allocations: 8.031 kB / 0.8198 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.6184, allocations: 54.55 kB / 0.8199 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.6193, allocations: 83.77 kB / 0.82 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.6196, allocations: 222.8 kB / 0.8202 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-05/0.6197, allocations: 41.95 kB / 0.8202 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.6198, allocations: 19.98 kB / 0.8202 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.6203, allocations: 258.6 kB / 0.8205 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.6203, allocations: 4 kB / 0.8205 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.6204, allocations: 8 kB / 0.8205 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6204, allocations: 4 kB / 0.8205 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.6209, allocations: 171.8 kB / 0.8207 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.6226, allocations: 1.173 MB / 0.8218 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/0.6234, allocations: 214.6 kB / 0.822 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.6236, allocations: 76.75 kB / 0.8221 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.6236, allocations: 0 / 0.8221 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6237, allocations: 34.56 kB / 0.8221 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.6237, allocations: 0 / 0.8221 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002743/0.6264, allocations: 0.6185 MB / 0.8227 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.6265, allocations: 67.28 kB / 0.8228 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.6267, allocations: 203.1 kB / 0.823 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6267, allocations: 29.7 kB / 0.823 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.6268, allocations: 139.8 kB / 0.8231 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.6269, allocations: 47.58 kB / 0.8232 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.456e-05/0.627, allocations: 45.69 kB / 0.8232 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6271, allocations: 330.7 kB / 0.8235 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.6273, allocations: 75.94 kB / 0.8236 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.6276, allocations: 125.2 kB / 0.8237 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.628, allocations: 209.1 kB / 0.8239 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6281, allocations: 4 kB / 0.8239 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001529/0.6296, allocations: 370.8 kB / 0.8243 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.6296, allocations: 8 kB / 0.8243 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6296, allocations: 0 / 0.8243 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.6307, allocations: 161.8 kB / 0.8245 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.631, allocations: 39.91 kB / 0.8245 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.6349, allocations: 3.252 MB / 0.8277 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.6353, allocations: 39.75 kB / 0.8277 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.6353, allocations: 8 kB / 0.8277 GB, free: 8.891 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.0001453/0.6355, allocations: 135.7 kB / 0.8278 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.6355, allocations: 15.91 kB / 0.8279 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.6369, allocations: 368.4 kB / 0.8282 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6369, allocations: 4 kB / 0.8282 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.6369, allocations: 0 / 0.8282 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6369, allocations: 11.94 kB / 0.8282 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.6373, allocations: 269.4 kB / 0.8285 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6373, allocations: 3.938 kB / 0.8285 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.6374, allocations: 23.98 kB / 0.8285 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008488/0.6383, allocations: 137.6 kB / 0.8286 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.6383, allocations: 4 kB / 0.8286 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.6422, allocations: 3.305 MB / 0.8319 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6422, allocations: 0 / 0.8319 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.6435, allocations: 435.5 kB / 0.8323 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.6437, allocations: 116.9 kB / 0.8324 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.6437, allocations: 7.938 kB / 0.8324 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.644, allocations: 19.92 kB / 0.8324 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.6441, allocations: 19.97 kB / 0.8324 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6441, allocations: 4 kB / 0.8324 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001758/0.6443, allocations: 148.2 kB / 0.8326 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6443, allocations: 0 / 0.8326 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004176/0.6447, allocations: 71.89 kB / 0.8327 GB, free: 3.426 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.001698/0.6464, allocations: 0.9676 MB / 0.8336 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.6475, allocations: 451.7 kB / 0.834 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6476, allocations: 0 / 0.834 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006899/0.6483, allocations: 357.2 kB / 0.8344 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.6487, allocations: 58.03 kB / 0.8344 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.654, allocations: 2.509 MB / 0.8369 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.6543, allocations: 0.7402 MB / 0.8376 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.6545, allocations: 33.94 kB / 0.8376 GB, free: 14.08 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.6546, allocations: 55.41 kB / 0.8377 GB, free: 14.03 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.6546, allocations: 4 kB / 0.8377 GB, free: 14.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.6859, allocations: 7.277 MB / 0.8448 GB, free: 6.949 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.28, allocations: 9.953 kB / 0.8448 GB, free: 6.941 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)