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.001174/0.001174, 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.001449/0.001449, allocations: 195.8 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.945/0.945, allocations: 135.1 MB / 425.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 55.56 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1867, allocations: 80.94 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004435/0.1912, allocations: 1.859 MB / 0.5863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5696/0.7608, allocations: 155.4 MB / 0.738 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.761, allocations: 5.562 kB / 0.7381 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.7612, allocations: 26.17 kB / 0.7381 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.7616, allocations: 76.55 kB / 0.7382 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.7623, allocations: 258.5 kB / 0.7384 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.7627, allocations: 256.4 kB / 0.7386 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.7629, allocations: 68.48 kB / 0.7387 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.7641, allocations: 245.8 kB / 0.7389 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.7643, allocations: 85.78 kB / 0.739 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.7644, allocations: 14.28 kB / 0.739 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.7648, allocations: 185.5 kB / 0.7392 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.7649, allocations: 47.33 kB / 0.7393 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.765, allocations: 86.42 kB / 0.7393 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.7656, allocations: 269.5 kB / 0.7396 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7656, allocations: 0 / 0.7396 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7656, allocations: 0 / 0.7396 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.7656, allocations: 4 kB / 0.7396 GB, free: 10.07 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001138/0.7668, allocations: 0.5042 MB / 0.7401 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7668, allocations: 17.59 kB / 0.7401 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/0.7669, allocations: 51.8 kB / 0.7402 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009055/0.7678, allocations: 81.92 kB / 0.7402 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.7681, allocations: 223.3 kB / 0.7405 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/0.7682, allocations: 48.45 kB / 0.7405 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.7683, allocations: 14.66 kB / 0.7405 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.7688, allocations: 259.2 kB / 0.7408 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.7688, allocations: 3.984 kB / 0.7408 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.7689, allocations: 9.625 kB / 0.7408 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.7689, allocations: 10.02 kB / 0.7408 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.7693, allocations: 164 kB / 0.7409 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.771, allocations: 1.179 MB / 0.7421 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.7718, allocations: 203.8 kB / 0.7423 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.772, allocations: 69.56 kB / 0.7424 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.772, allocations: 1.5 kB / 0.7424 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.772, allocations: 36.09 kB / 0.7424 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/0.7721, allocations: 0 / 0.7424 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.003039/0.7751, allocations: 0.6292 MB / 0.743 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.7752, allocations: 52.88 kB / 0.7431 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.7755, allocations: 199.7 kB / 0.7432 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.7756, allocations: 33.69 kB / 0.7433 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.7757, allocations: 136.9 kB / 0.7434 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.7758, allocations: 48.19 kB / 0.7435 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.776, allocations: 45.09 kB / 0.7435 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.7762, allocations: 330.7 kB / 0.7438 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.7765, allocations: 68.08 kB / 0.7439 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.7769, allocations: 133.3 kB / 0.744 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.7775, allocations: 205.4 kB / 0.7442 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.7775, allocations: 0 / 0.7442 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001763/0.7793, allocations: 371.8 kB / 0.7446 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.7793, allocations: 9.656 kB / 0.7446 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.7793, allocations: 6.75 kB / 0.7446 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.7806, allocations: 161.3 kB / 0.7447 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.7809, allocations: 38.09 kB / 0.7448 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/0.7858, allocations: 3.249 MB / 0.7479 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.7863, allocations: 37.64 kB / 0.748 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.7863, allocations: 10.33 kB / 0.748 GB, free: 2.828 MB / 0.5606 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.0001769/0.7865, allocations: 134.5 kB / 0.7481 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.7866, allocations: 15.78 kB / 0.7481 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.788, allocations: 370.4 kB / 0.7485 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.788, allocations: 1.25 kB / 0.7485 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.788, allocations: 3.984 kB / 0.7485 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.788, allocations: 1.5 kB / 0.7485 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.7884, allocations: 268 kB / 0.7487 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7884, allocations: 0 / 0.7487 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.7885, allocations: 29.39 kB / 0.7488 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008763/0.7894, allocations: 145.1 kB / 0.7489 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.7895, allocations: 7.984 kB / 0.7489 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/0.7932, allocations: 3.291 MB / 0.7521 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7933, allocations: 0 / 0.7521 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.7946, allocations: 436.6 kB / 0.7525 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.7948, allocations: 119.1 kB / 0.7527 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.7948, allocations: 3.938 kB / 0.7527 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.7951, allocations: 15.42 kB / 0.7527 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.7952, allocations: 19.47 kB / 0.7527 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.7953, allocations: 8.562 kB / 0.7527 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001802/0.7954, allocations: 149.3 kB / 0.7528 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7955, allocations: 0 / 0.7528 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004588/0.7959, allocations: 73.25 kB / 0.7529 GB, free: 14.32 MB / 0.5762 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.001706/0.7976, allocations: 0.9731 MB / 0.7539 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.7988, allocations: 460.8 kB / 0.7543 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7988, allocations: 2.531 kB / 0.7543 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.7995, allocations: 358.3 kB / 0.7546 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.7999, allocations: 76.34 kB / 0.7547 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.8052, allocations: 2.503 MB / 0.7572 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.8056, allocations: 0.7266 MB / 0.7579 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002397/0.8059, allocations: 29.95 kB / 0.7579 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.806, allocations: 59.41 kB / 0.758 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.332e-06/0.806, allocations: 4 kB / 0.758 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.8375, allocations: 7.182 MB / 0.765 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.16, allocations: 0 / 0.765 GB, free: 3.043 MB / 0.5762 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)