Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",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.00137/0.00137, allocations: 100.1 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.001494/0.001494, allocations: 177.3 kB / 15.95 MB, free: 216 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.86/2.86, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.05/5.05, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.0005941, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792/1.793, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.3139/2.107, allocations: 131.1 MB / 1.109 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.023/2.13, allocations: 8.221 MB / 1.117 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/2.131, allocations: 11.94 kB / 1.117 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/2.133, allocations: 334.5 kB / 1.117 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/2.138, allocations: 0.7471 MB / 1.118 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/2.149, allocations: 1.639 MB / 1.12 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003674/2.152, allocations: 0.8363 MB / 1.12 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/2.154, allocations: 343.5 kB / 1.121 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003855/2.158, allocations: 0.7828 MB / 1.121 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/2.159, allocations: 310.7 kB / 1.122 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/2.159, allocations: 28 kB / 1.122 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/2.173, allocations: 3.414 MB / 1.125 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/2.173, allocations: 123.5 kB / 1.125 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00051/2.174, allocations: 149.4 kB / 1.125 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007359/2.181, allocations: 1.777 MB / 1.127 GB, free: 160 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/2.181, allocations: 3.938 kB / 1.127 GB, free: 156 kB / 0.8731 GB Notification: Performance of FrontEnd: time 6.212e-06/2.181, allocations: 0 / 1.127 GB, free: 156 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.139e-05/2.181, allocations: 0 / 1.127 GB, free: 156 kB / 0.8731 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.005301/2.187, allocations: 0.92 MB / 1.128 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 9.314e-05/2.187, allocations: 8.031 kB / 1.128 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003396/2.187, allocations: 94.52 kB / 1.128 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/2.189, allocations: 143.1 kB / 1.128 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/2.191, allocations: 401.8 kB / 1.129 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.211e-05/2.191, allocations: 41.31 kB / 1.129 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/2.191, allocations: 52 kB / 1.129 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/2.193, allocations: 0.6526 MB / 1.129 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/2.193, allocations: 0 / 1.129 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/2.193, allocations: 28 kB / 1.129 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/2.193, allocations: 12 kB / 1.129 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/2.195, allocations: 483.5 kB / 1.13 GB, free: 13.2 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.02819/2.223, allocations: 6.522 MB / 1.136 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/2.224, allocations: 163.2 kB / 1.136 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/2.243, allocations: 3.861 MB / 1.14 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/2.243, allocations: 42.8 kB / 1.14 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=27): time 8.035e-06/2.243, allocations: 0 / 1.14 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40): time 0.1266/2.37, allocations: 29.15 MB / 1.169 GB, free: 5.016 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000367/2.37, allocations: 136.5 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/2.372, allocations: 445.8 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/2.372, allocations: 37.7 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005821/2.373, allocations: 315.4 kB / 1.17 GB, free: 4.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/2.373, allocations: 137.9 kB / 1.17 GB, free: 3.914 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/2.373, allocations: 12 kB / 1.17 GB, free: 3.902 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003434/2.373, allocations: 366.8 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008066/2.374, allocations: 177 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/2.375, allocations: 353.2 kB / 1.171 GB, free: 2.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009449/2.376, allocations: 220.6 kB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/2.376, allocations: 7.953 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003721/2.38, allocations: 0.7068 MB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/2.38, allocations: 4 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/2.38, allocations: 7.953 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000956/2.381, allocations: 134 kB / 1.172 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/2.382, allocations: 111.8 kB / 1.172 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/2.388, allocations: 3.075 MB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/2.389, allocations: 48.17 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/2.39, allocations: 27.98 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0007313/2.39, allocations: 189.6 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/2.391, allocations: 59.28 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/2.394, allocations: 0.6669 MB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/2.394, allocations: 4.188 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/2.394, allocations: 3.984 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/2.394, allocations: 3.984 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/2.398, allocations: 1.234 MB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/2.398, allocations: 4 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/2.399, allocations: 68.39 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/2.399, allocations: 72.75 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/2.399, allocations: 12 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/2.403, allocations: 1.588 MB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/2.403, allocations: 4 kB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/2.406, allocations: 0.925 MB / 1.18 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/2.407, allocations: 156.7 kB / 1.18 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/2.407, allocations: 12 kB / 1.18 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/2.408, allocations: 27.89 kB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/2.408, allocations: 43.91 kB / 1.18 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/2.408, allocations: 19.98 kB / 1.18 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009012/2.409, allocations: 342.8 kB / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.51e-07/2.409, allocations: 0 / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004627/2.414, allocations: 0.5623 MB / 1.181 GB, free: 7.879 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (29): * Single equations (assignments): 28 * 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.01138/2.425, allocations: 3.022 MB / 1.184 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00314/2.429, allocations: 0.6739 MB / 1.184 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/2.429, allocations: 4 kB / 1.184 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/2.43, allocations: 281.5 kB / 1.185 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/2.433, allocations: 263.8 kB / 1.185 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/2.449, allocations: 6.336 MB / 1.191 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009875/2.45, allocations: 0.8783 MB / 1.192 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001146/2.452, allocations: 111.8 kB / 1.192 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/2.452, allocations: 191.4 kB / 1.192 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of SimCode: time 2.084e-06/2.452, allocations: 3.938 kB / 1.192 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/2.596, allocations: 27.26 MB / 1.219 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005212/2.597, allocations: 307.6 kB / 1.219 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.827/7.424, allocations: 6.812 kB / 1.219 GB, free: 0.5977 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat does not exist to compare? outputFormat=mat