Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",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.001543/0.001543, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00217/0.00217, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.807/2.807, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.04/5.04, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005423/0.0005426, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544/1.545, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.2942/1.839, allocations: 130.9 MB / 1.109 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02334/1.862, allocations: 9.062 MB / 1.118 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/1.864, allocations: 11.94 kB / 1.118 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/1.866, allocations: 330.5 kB / 1.118 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006774/1.873, allocations: 1.039 MB / 1.119 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.009821/1.883, allocations: 1.619 MB / 1.121 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003331/1.886, allocations: 0.848 MB / 1.121 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/1.888, allocations: 343.5 kB / 1.122 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006052/1.894, allocations: 1.044 MB / 1.123 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006473/1.9, allocations: 1.963 MB / 1.125 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/1.901, allocations: 28 kB / 1.125 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/1.914, allocations: 2.708 MB / 1.127 GB, free: 48 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007309/1.914, allocations: 127.5 kB / 1.127 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009108/1.915, allocations: 149.4 kB / 1.128 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007406/1.923, allocations: 1.539 MB / 1.129 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.923, allocations: 3.938 kB / 1.129 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.25e-06/1.923, allocations: 0 / 1.129 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.929e-05/1.923, allocations: 0 / 1.129 GB, free: 14.22 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004267/1.927, allocations: 0.8888 MB / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.125e-05/1.927, allocations: 12.03 kB / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002362/1.928, allocations: 98.52 kB / 1.13 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/1.93, allocations: 147.1 kB / 1.13 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/1.931, allocations: 409.8 kB / 1.131 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/1.932, allocations: 41.31 kB / 1.131 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/1.932, allocations: 55.92 kB / 1.131 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/1.934, allocations: 0.6682 MB / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/1.934, allocations: 4 kB / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.934, allocations: 24 kB / 1.131 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/1.935, allocations: 19.95 kB / 1.131 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/1.937, allocations: 495.5 kB / 1.132 GB, free: 11.24 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007801/1.944, allocations: 3.01 MB / 1.135 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.946, allocations: 275.8 kB / 1.135 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03296/1.979, allocations: 5.808 MB / 1.141 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/1.979, allocations: 42.56 kB / 1.141 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=36): time 6.623e-06/1.979, allocations: 0 / 1.141 GB, free: 1.633 MB / 0.8887 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.1544/2.133, allocations: 30.43 MB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/2.134, allocations: 137 kB / 1.171 GB, free: 3.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/2.135, allocations: 369.5 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/2.135, allocations: 41.7 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/2.135, allocations: 292.2 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/2.136, allocations: 185.3 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/2.136, allocations: 12 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003217/2.136, allocations: 354.8 kB / 1.172 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/2.137, allocations: 241 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/2.138, allocations: 376.4 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/2.14, allocations: 272.8 kB / 1.173 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/2.14, allocations: 11.94 kB / 1.173 GB, free: 0.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003808/2.144, allocations: 0.7859 MB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/2.144, allocations: 15.89 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/2.144, allocations: 4 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009731/2.145, allocations: 122 kB / 1.174 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/2.146, allocations: 131.8 kB / 1.174 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006953/2.153, allocations: 3.106 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/2.154, allocations: 64.11 kB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/2.155, allocations: 23.98 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000753/2.155, allocations: 199 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/2.156, allocations: 55.38 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/2.16, allocations: 0.7986 MB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/2.16, allocations: 4 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/2.16, allocations: 4 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/2.16, allocations: 0 / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06023/2.22, allocations: 10.57 MB / 1.188 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/2.22, allocations: 4 kB / 1.188 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/2.221, allocations: 107.8 kB / 1.188 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/2.221, allocations: 73.34 kB / 1.188 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/2.221, allocations: 16 kB / 1.188 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002797/2.224, allocations: 1.568 MB / 1.19 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.726e-05/2.224, allocations: 11.94 kB / 1.19 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004303/2.229, allocations: 1.328 MB / 1.191 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006606/2.229, allocations: 140.5 kB / 1.191 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/2.23, allocations: 23.95 kB / 1.191 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/2.231, allocations: 51.92 kB / 1.191 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/2.231, allocations: 63.72 kB / 1.191 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/2.231, allocations: 27.98 kB / 1.191 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001129/2.232, allocations: 275.1 kB / 1.192 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/2.232, allocations: 0 / 1.192 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.009655/2.242, allocations: 1.379 MB / 1.193 GB, free: 10.79 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (48): * Single equations (assignments): 47 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02352/2.266, allocations: 4.527 MB / 1.197 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003945/2.27, allocations: 0.7842 MB / 1.198 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/2.27, allocations: 3.938 kB / 1.198 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/2.271, allocations: 354.9 kB / 1.199 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/2.274, allocations: 235.1 kB / 1.199 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/2.294, allocations: 5.648 MB / 1.204 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/2.295, allocations: 0.8902 MB / 1.205 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001197/2.296, allocations: 128.3 kB / 1.205 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/2.297, allocations: 211.3 kB / 1.206 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of SimCode: time 2.014e-06/2.297, allocations: 0 / 1.206 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.306/3.603, allocations: 68.26 MB / 1.272 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002977/3.604, allocations: 297.7 kB / 1.272 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/11.28, allocations: 2.812 kB / 1.272 GB, free: 220.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat does not exist to compare? outputFormat=mat