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.006365/0.006365, allocations: 101.2 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.00171/0.00171, allocations: 197.5 kB / 16.67 MB, free: 5.977 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9552/0.9552, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 59.91 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4297, allocations: 80.92 MB / 0.6641 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002352/0.4321, allocations: 1.646 MB / 0.6657 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.6027, allocations: 149.7 MB / 0.8119 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.6028, allocations: 4 kB / 0.8119 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.6031, allocations: 19.8 kB / 0.812 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.6034, allocations: 51.62 kB / 0.812 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.6039, allocations: 183.3 kB / 0.8122 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.6042, allocations: 159.5 kB / 0.8123 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.6044, allocations: 34.2 kB / 0.8124 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.6056, allocations: 193.6 kB / 0.8125 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.6057, allocations: 55.77 kB / 0.8126 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.6058, allocations: 11.94 kB / 0.8126 GB, free: 9 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.6061, allocations: 163.8 kB / 0.8128 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.6061, allocations: 19.92 kB / 0.8128 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.6062, allocations: 55.72 kB / 0.8128 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.6065, allocations: 199.4 kB / 0.813 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.6065, allocations: 0 / 0.813 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6066, allocations: 4 kB / 0.813 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6066, allocations: 0 / 0.813 GB, free: 8.566 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008449/0.6074, allocations: 463 kB / 0.8135 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6075, allocations: 8.031 kB / 0.8135 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.6075, allocations: 46.73 kB / 0.8135 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006344/0.6082, allocations: 60.53 kB / 0.8136 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.6084, allocations: 194.9 kB / 0.8138 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.6084, allocations: 0 / 0.8138 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.6084, allocations: 12 kB / 0.8138 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.6089, allocations: 185.7 kB / 0.814 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6089, allocations: 4 kB / 0.814 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.6089, allocations: 4 kB / 0.814 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.609, allocations: 0 / 0.814 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.6095, allocations: 155.7 kB / 0.8141 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.6106, allocations: 0.8089 MB / 0.8149 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.611, allocations: 138.4 kB / 0.815 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.6113, allocations: 80.78 kB / 0.8151 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.6113, allocations: 0 / 0.8151 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.6113, allocations: 34.56 kB / 0.8151 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.6114, allocations: 4 kB / 0.8152 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.002407/0.6138, allocations: 459.3 kB / 0.8156 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.6139, allocations: 55.34 kB / 0.8156 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.614, allocations: 144.1 kB / 0.8158 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.6141, allocations: 29.7 kB / 0.8158 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.6142, allocations: 111.8 kB / 0.8159 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.6143, allocations: 27.64 kB / 0.8159 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.6144, allocations: 25.7 kB / 0.816 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6146, allocations: 322.8 kB / 0.8163 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.6149, allocations: 67.94 kB / 0.8163 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.6153, allocations: 112.2 kB / 0.8164 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.6161, allocations: 176.1 kB / 0.8166 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6161, allocations: 0 / 0.8166 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001505/0.6176, allocations: 278.1 kB / 0.8169 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.6177, allocations: 12.06 kB / 0.8169 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6177, allocations: 7.984 kB / 0.8169 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008058/0.6185, allocations: 84.77 kB / 0.817 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.6188, allocations: 35.89 kB / 0.817 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.6217, allocations: 1.654 MB / 0.8186 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.622, allocations: 31.88 kB / 0.8187 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.622, allocations: 11.88 kB / 0.8187 GB, free: 2.309 MB / 0.6387 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.0001222/0.6221, allocations: 117.8 kB / 0.8188 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.6222, allocations: 15.89 kB / 0.8188 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.6233, allocations: 315.2 kB / 0.8191 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.6233, allocations: 4.188 kB / 0.8191 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.6233, allocations: 4 kB / 0.8191 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6233, allocations: 3.984 kB / 0.8191 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.6236, allocations: 233.5 kB / 0.8193 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6236, allocations: 0 / 0.8193 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.6238, allocations: 35.95 kB / 0.8194 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/0.6243, allocations: 68.78 kB / 0.8194 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.6243, allocations: 15.92 kB / 0.8194 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.6263, allocations: 1.677 MB / 0.8211 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6263, allocations: 3.938 kB / 0.8211 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6273, allocations: 374.4 kB / 0.8214 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.6274, allocations: 85.02 kB / 0.8215 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.6275, allocations: 4 kB / 0.8215 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.6277, allocations: 19.92 kB / 0.8216 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.6277, allocations: 23.91 kB / 0.8216 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.6278, allocations: 4.062 kB / 0.8216 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.313e-05/0.6278, allocations: 113.5 kB / 0.8217 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6278, allocations: 0 / 0.8217 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003441/0.6282, allocations: 44 kB / 0.8217 GB, free: 14.93 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 (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.001432/0.6296, allocations: 0.9226 MB / 0.8226 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009641/0.6306, allocations: 310.7 kB / 0.8229 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6306, allocations: 0 / 0.8229 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.6312, allocations: 224.5 kB / 0.8231 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.6315, allocations: 27.92 kB / 0.8232 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.6356, allocations: 2.055 MB / 0.8252 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.6359, allocations: 0.7124 MB / 0.8259 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.6361, allocations: 20.88 kB / 0.8259 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.6362, allocations: 39.41 kB / 0.8259 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.6362, allocations: 0 / 0.8259 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/0.675, allocations: 4.816 MB / 0.8306 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.68, allocations: 13.31 kB / 0.8306 GB, free: 5.785 MB / 0.6544 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)