Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001262/0.001262, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.948/0.948, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.73 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.184, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003512/0.1876, allocations: 1.643 MB / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5713/0.759, allocations: 149.7 MB / 0.7322 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.7592, allocations: 1.375 kB / 0.7322 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.7595, allocations: 28.97 kB / 0.7323 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.76, allocations: 52.91 kB / 0.7323 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.7609, allocations: 181.4 kB / 0.7325 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.7612, allocations: 152.1 kB / 0.7326 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.7615, allocations: 37.39 kB / 0.7327 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.763, allocations: 188.4 kB / 0.7329 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.7632, allocations: 55.53 kB / 0.7329 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.7632, allocations: 8.812 kB / 0.7329 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.7636, allocations: 161.8 kB / 0.7331 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.7637, allocations: 31.98 kB / 0.7331 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.7638, allocations: 60.36 kB / 0.7332 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.7643, allocations: 188.1 kB / 0.7333 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7643, allocations: 0 / 0.7333 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7643, allocations: 1.219 kB / 0.7333 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.7643, allocations: 0 / 0.7333 GB, free: 14.49 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001073/0.7654, allocations: 460.2 kB / 0.7338 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.7654, allocations: 9.469 kB / 0.7338 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.7655, allocations: 39.25 kB / 0.7338 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007277/0.7662, allocations: 56.16 kB / 0.7339 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.7665, allocations: 207.2 kB / 0.7341 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.7666, allocations: 8.406 kB / 0.7341 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.7666, allocations: 4.406 kB / 0.7341 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.7671, allocations: 187.1 kB / 0.7343 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.7672, allocations: 5.062 kB / 0.7343 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.7672, allocations: 10.22 kB / 0.7343 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.7672, allocations: 2.219 kB / 0.7343 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.7678, allocations: 141.1 kB / 0.7344 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.7693, allocations: 0.8253 MB / 0.7352 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.7699, allocations: 126.4 kB / 0.7353 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.7702, allocations: 85.25 kB / 0.7354 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.7702, allocations: 1.875 kB / 0.7354 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.7703, allocations: 30.56 kB / 0.7355 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.7703, allocations: 1.5 kB / 0.7355 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002099/0.7724, allocations: 464.8 kB / 0.7359 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.7724, allocations: 52.41 kB / 0.7359 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.7726, allocations: 140.4 kB / 0.7361 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.7726, allocations: 27.08 kB / 0.7361 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.7727, allocations: 107.9 kB / 0.7362 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.7728, allocations: 30.98 kB / 0.7362 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.7729, allocations: 32.44 kB / 0.7363 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.773, allocations: 320.4 kB / 0.7366 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.7733, allocations: 71.17 kB / 0.7366 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.7736, allocations: 105.6 kB / 0.7367 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.7742, allocations: 180.9 kB / 0.7369 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7742, allocations: 1.094 kB / 0.7369 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001181/0.7754, allocations: 283 kB / 0.7372 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.7754, allocations: 10.44 kB / 0.7372 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.7754, allocations: 1.438 kB / 0.7372 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/0.7761, allocations: 91.84 kB / 0.7373 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.7763, allocations: 29.73 kB / 0.7373 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.7786, allocations: 1.666 MB / 0.7389 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.7789, allocations: 21.3 kB / 0.739 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.7789, allocations: 16.3 kB / 0.739 GB, free: 10.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.779, allocations: 118.7 kB / 0.7391 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.7791, allocations: 8.5 kB / 0.7391 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.7802, allocations: 317.8 kB / 0.7394 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7802, allocations: 1.188 kB / 0.7394 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7802, allocations: 5.484 kB / 0.7394 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7802, allocations: 6.344 kB / 0.7394 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.7805, allocations: 239.1 kB / 0.7396 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7805, allocations: 0 / 0.7396 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.7807, allocations: 33.23 kB / 0.7397 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.7812, allocations: 76.17 kB / 0.7397 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.7812, allocations: 10.16 kB / 0.7398 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.7831, allocations: 1.677 MB / 0.7414 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7831, allocations: 0 / 0.7414 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.7841, allocations: 375.1 kB / 0.7418 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.7841, allocations: 94.33 kB / 0.7418 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.7842, allocations: 0 / 0.7418 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.7844, allocations: 24.62 kB / 0.7419 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.7845, allocations: 10.69 kB / 0.7419 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.7845, allocations: 8.641 kB / 0.7419 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.7846, allocations: 106 kB / 0.742 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7846, allocations: 0 / 0.742 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003528/0.785, allocations: 43.34 kB / 0.742 GB, free: 7.629 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/0.7864, allocations: 0.9198 MB / 0.7429 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009426/0.7874, allocations: 315.4 kB / 0.7432 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7874, allocations: 0 / 0.7432 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.7879, allocations: 239.3 kB / 0.7435 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.7883, allocations: 25.27 kB / 0.7435 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.7922, allocations: 2.047 MB / 0.7455 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.7925, allocations: 0.7157 MB / 0.7462 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000173/0.7927, allocations: 23.05 kB / 0.7462 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.7928, allocations: 35.66 kB / 0.7462 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.7928, allocations: 0 / 0.7462 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.8162, allocations: 4.654 MB / 0.7508 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.82, allocations: 4 kB / 0.7508 GB, free: 1.641 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)