Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_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.000933/0.000933, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001058/0.001058, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.547/2.547, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005046, allocations: 16 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8227, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002109/0.8249, allocations: 1.572 MB / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.163/0.9879, allocations: 141.2 MB / 1.121 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.9881, allocations: 7.938 kB / 1.121 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.9883, allocations: 19.86 kB / 1.121 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.9886, allocations: 67.53 kB / 1.121 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.9893, allocations: 215.4 kB / 1.121 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.9895, allocations: 239.1 kB / 1.121 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.9897, allocations: 65.67 kB / 1.121 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.9901, allocations: 175.5 kB / 1.121 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.9903, allocations: 75.67 kB / 1.121 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.9903, allocations: 8 kB / 1.121 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.9906, allocations: 171.7 kB / 1.122 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.9907, allocations: 31.84 kB / 1.122 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.9907, allocations: 49.64 kB / 1.122 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.991, allocations: 203.5 kB / 1.122 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.991, allocations: 0 / 1.122 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.533e-06/0.991, allocations: 4 kB / 1.122 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.991, allocations: 0 / 1.122 GB, free: 5.723 MB / 0.8731 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.0008457/0.9919, allocations: 0.4912 MB / 1.122 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.9919, allocations: 8.031 kB / 1.122 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.992, allocations: 54.55 kB / 1.122 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007808/0.9928, allocations: 87.67 kB / 1.123 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.993, allocations: 230.7 kB / 1.123 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.9931, allocations: 41.97 kB / 1.123 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.9932, allocations: 12 kB / 1.123 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.9937, allocations: 266.6 kB / 1.123 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9937, allocations: 0 / 1.123 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.9937, allocations: 8 kB / 1.123 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.9937, allocations: 8 kB / 1.123 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.9942, allocations: 179.7 kB / 1.123 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.9957, allocations: 1.184 MB / 1.124 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.9964, allocations: 210.6 kB / 1.125 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.9966, allocations: 80.81 kB / 1.125 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.9967, allocations: 0 / 1.125 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.9967, allocations: 38.56 kB / 1.125 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.9967, allocations: 0 / 1.125 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.002388/0.9991, allocations: 0.6456 MB / 1.125 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.9991, allocations: 55.36 kB / 1.125 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.9994, allocations: 211.2 kB / 1.126 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.9994, allocations: 29.64 kB / 1.126 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.9995, allocations: 140 kB / 1.126 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.9996, allocations: 51.44 kB / 1.126 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.9996, allocations: 3.938 kB / 1.126 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9997, allocations: 326.8 kB / 1.126 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/1, allocations: 75.94 kB / 1.126 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/1, allocations: 135.2 kB / 1.126 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/1, allocations: 91.94 kB / 1.126 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1, allocations: 0 / 1.126 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001296/1.002, allocations: 382.7 kB / 1.127 GB, free: 384 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.002, allocations: 8.219 kB / 1.127 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.002, allocations: 7.984 kB / 1.127 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009604/1.003, allocations: 165.5 kB / 1.127 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/1.003, allocations: 47.89 kB / 1.127 GB, free: 148 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/1.007, allocations: 3.024 MB / 1.13 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/1.007, allocations: 43.73 kB / 1.13 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/1.007, allocations: 11.98 kB / 1.13 GB, free: 12.79 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.007, allocations: 139 kB / 1.13 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/1.007, allocations: 15.81 kB / 1.13 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/1.009, allocations: 385.5 kB / 1.13 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.009, allocations: 0 / 1.13 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/1.009, allocations: 0 / 1.13 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/1.009, allocations: 0 / 1.13 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/1.009, allocations: 281.4 kB / 1.131 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.009, allocations: 0 / 1.131 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/1.009, allocations: 27.88 kB / 1.131 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000819/1.01, allocations: 169.5 kB / 1.131 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.01, allocations: 3.938 kB / 1.131 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/1.013, allocations: 3.076 MB / 1.134 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.013, allocations: 240 / 1.134 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.014, allocations: 442.3 kB / 1.134 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/1.015, allocations: 116.9 kB / 1.134 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/1.015, allocations: 11.95 kB / 1.134 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/1.015, allocations: 19.89 kB / 1.135 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/1.015, allocations: 19.97 kB / 1.135 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/1.015, allocations: 4 kB / 1.135 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001834/1.015, allocations: 159.2 kB / 1.135 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.015, allocations: 4 kB / 1.135 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004333/1.016, allocations: 67.94 kB / 1.135 GB, free: 7.488 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/1.017, allocations: 0.9919 MB / 1.136 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009819/1.018, allocations: 445.5 kB / 1.136 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.018, allocations: 7.938 kB / 1.136 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/1.019, allocations: 369.2 kB / 1.137 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/1.019, allocations: 45.69 kB / 1.137 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/1.022, allocations: 1.367 MB / 1.138 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/1.022, allocations: 0.7363 MB / 1.139 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002188/1.023, allocations: 37.88 kB / 1.139 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/1.023, allocations: 51.41 kB / 1.139 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of SimCode: time 1.694e-06/1.023, allocations: 0 / 1.139 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/1.042, allocations: 6.67 MB / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/1.042, allocations: 229.5 kB / 1.145 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/3.086, allocations: 0 / 1.145 GB, free: 12.65 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat