Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001165/0.001165, allocations: 191.7 kB / 16.25 MB, free: 6.633 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 60.08 kB / 0.8688 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6464, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003608/0.6501, allocations: 1.969 MB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.8087, allocations: 153.2 MB / 1.168 GB, free: 6.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.809, allocations: 7.938 kB / 1.168 GB, free: 6.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.8092, allocations: 15.86 kB / 1.168 GB, free: 6.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.8096, allocations: 71.53 kB / 1.169 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.8103, allocations: 231.4 kB / 1.169 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.8106, allocations: 271 kB / 1.169 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.8108, allocations: 76.62 kB / 1.169 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.8127, allocations: 248.6 kB / 1.169 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.8129, allocations: 95.59 kB / 1.169 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.8129, allocations: 16 kB / 1.169 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.8132, allocations: 183.7 kB / 1.17 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.8133, allocations: 39.84 kB / 1.17 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.353e-05/0.8134, allocations: 103.5 kB / 1.17 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.8137, allocations: 271.2 kB / 1.17 GB, free: 5.359 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8137, allocations: 4 kB / 1.17 GB, free: 5.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8138, allocations: 0 / 1.17 GB, free: 5.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.8138, allocations: 4 kB / 1.17 GB, free: 5.352 MB / 0.92 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.000931/0.8147, allocations: 0.5223 MB / 1.171 GB, free: 4.781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8148, allocations: 8.031 kB / 1.171 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.8148, allocations: 58.48 kB / 1.171 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.8157, allocations: 79.73 kB / 1.171 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.8159, allocations: 234.6 kB / 1.171 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.816, allocations: 34.03 kB / 1.171 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.816, allocations: 16 kB / 1.171 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.8165, allocations: 262.6 kB / 1.171 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8166, allocations: 3.938 kB / 1.171 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.8166, allocations: 8 kB / 1.171 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.8166, allocations: 4 kB / 1.171 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.817, allocations: 168.3 kB / 1.171 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.8186, allocations: 1.192 MB / 1.173 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.8194, allocations: 202.6 kB / 1.173 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.8196, allocations: 68.83 kB / 1.173 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.8196, allocations: 4 kB / 1.173 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.8196, allocations: 38.55 kB / 1.173 GB, free: 2.242 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 3.687e-06/0.8196, allocations: 0 / 1.173 GB, free: 2.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.002646/0.8223, allocations: 0.6297 MB / 1.173 GB, free: 1.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.8223, allocations: 51.41 kB / 1.173 GB, free: 1.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.8226, allocations: 222.9 kB / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.8226, allocations: 25.7 kB / 1.174 GB, free: 1.242 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.8227, allocations: 140 kB / 1.174 GB, free: 1.102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.8228, allocations: 39.36 kB / 1.174 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.8229, allocations: 49.67 kB / 1.174 GB, free: 1.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.823, allocations: 330.8 kB / 1.174 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.8232, allocations: 67.95 kB / 1.174 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.8234, allocations: 138.8 kB / 1.174 GB, free: 460 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.8238, allocations: 202.6 kB / 1.175 GB, free: 232 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8238, allocations: 4 kB / 1.175 GB, free: 228 kB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001424/0.8253, allocations: 370.9 kB / 1.175 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8253, allocations: 8 kB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8253, allocations: 4 kB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.8264, allocations: 157.5 kB / 1.175 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.8267, allocations: 43.89 kB / 1.175 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.8304, allocations: 3.246 MB / 1.178 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.8308, allocations: 35.77 kB / 1.178 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.8308, allocations: 16.05 kB / 1.178 GB, free: 12.04 MB / 0.9356 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.0001382/0.831, allocations: 133.7 kB / 1.179 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.831, allocations: 15.81 kB / 1.179 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.8323, allocations: 377.8 kB / 1.179 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.8324, allocations: 0 / 1.179 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.8324, allocations: 0 / 1.179 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.8324, allocations: 4 kB / 1.179 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.8327, allocations: 281.3 kB / 1.179 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.8327, allocations: 0 / 1.179 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.8328, allocations: 31.92 kB / 1.179 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008117/0.8336, allocations: 137.6 kB / 1.179 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.8337, allocations: 4 kB / 1.179 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/0.8371, allocations: 3.296 MB / 1.183 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.8371, allocations: 0 / 1.183 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.8383, allocations: 433.8 kB / 1.183 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.8384, allocations: 112.7 kB / 1.183 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.8385, allocations: 4 kB / 1.183 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.8388, allocations: 15.98 kB / 1.183 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.8389, allocations: 23.97 kB / 1.183 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.8389, allocations: 4 kB / 1.183 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001609/0.8391, allocations: 159.2 kB / 1.183 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.783e-06/0.8391, allocations: 3.938 kB / 1.183 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003743/0.8394, allocations: 75.88 kB / 1.183 GB, free: 6.562 MB / 0.9356 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.001552/0.841, allocations: 0.984 MB / 1.184 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009771/0.842, allocations: 453.2 kB / 1.185 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.842, allocations: 4 kB / 1.185 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.8427, allocations: 357.2 kB / 1.185 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.8431, allocations: 66.08 kB / 1.185 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/0.8478, allocations: 2.576 MB / 1.188 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.8481, allocations: 0.7362 MB / 1.188 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.8483, allocations: 41.92 kB / 1.188 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.8484, allocations: 63.34 kB / 1.189 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.8484, allocations: 0 / 1.189 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.57/3.419, allocations: 7.033 MB / 1.195 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/3.419, allocations: 248.8 kB / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/5.817, allocations: 0 / 1.196 GB, free: 10.01 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat