Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8682/0.8682, allocations: 177.1 MB / 203.6 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.777/1.777, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_13_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_13_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.188e-05, allocations: 10.16 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.587/0.587, allocations: 144.2 MB / 1.141 GB, free: 9.801 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007193/0.5942, allocations: 7.488 MB / 1.149 GB, free: 5.105 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.5944, allocations: 26.81 kB / 1.149 GB, free: 5.09 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.5951, allocations: 333.8 kB / 1.149 GB, free: 4.91 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.5962, allocations: 0.7743 MB / 1.15 GB, free: 4.469 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.5994, allocations: 2.191 MB / 1.152 GB, free: 3.609 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009635/0.6003, allocations: 1.391 MB / 1.153 GB, free: 2.93 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.6007, allocations: 357 kB / 1.154 GB, free: 2.777 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.6031, allocations: 1.689 MB / 1.155 GB, free: 2 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.6035, allocations: 399.6 kB / 1.156 GB, free: 1.871 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.6035, allocations: 51.62 kB / 1.156 GB, free: 1.871 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.608, allocations: 3.507 MB / 1.159 GB, free: 1.121 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.6082, allocations: 157.6 kB / 1.159 GB, free: 1.027 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.6084, allocations: 249.6 kB / 1.16 GB, free: 0.9375 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.6116, allocations: 3.138 MB / 1.163 GB, free: 32 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6116, allocations: 1.281 kB / 1.163 GB, free: 32 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6116, allocations: 3.938 kB / 1.163 GB, free: 28 kB / 1.01 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.6116, allocations: 0 / 1.163 GB, free: 28 kB / 1.01 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.001456/0.613, allocations: 0.9588 MB / 1.164 GB, free: 15.4 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.6131, allocations: 11.31 kB / 1.164 GB, free: 15.4 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.661e-05/0.6131, allocations: 93.72 kB / 1.164 GB, free: 15.33 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006025/0.6137, allocations: 138.7 kB / 1.164 GB, free: 15.29 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.6143, allocations: 368 kB / 1.164 GB, free: 15.02 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.6143, allocations: 37.66 kB / 1.164 GB, free: 15.01 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.6143, allocations: 58.62 kB / 1.164 GB, free: 14.99 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.6152, allocations: 0.9798 MB / 1.165 GB, free: 14.24 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.6152, allocations: 5.922 kB / 1.165 GB, free: 14.23 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.6153, allocations: 26.22 kB / 1.165 GB, free: 14.22 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.6153, allocations: 17.97 kB / 1.165 GB, free: 14.21 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.6159, allocations: 474.6 kB / 1.166 GB, free: 14.06 MB / 1.026 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.00821/0.6241, allocations: 5.6 MB / 1.171 GB, free: 11.99 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.6244, allocations: 152.3 kB / 1.171 GB, free: 11.92 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.6246, allocations: 112.7 kB / 1.171 GB, free: 11.88 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006023/0.6306, allocations: 3.271 MB / 1.175 GB, free: 11.52 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6306, allocations: 34.11 kB / 1.175 GB, free: 11.48 MB / 1.026 GB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.6306, allocations: 0 / 1.175 GB, free: 11.48 MB / 1.026 GB Notification: Performance of matching and sorting (n=40): time 0.04594/0.6766, allocations: 30.56 MB / 1.205 GB, free: 10.95 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.6766, allocations: 136.5 kB / 1.205 GB, free: 10.79 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.677, allocations: 461.8 kB / 1.205 GB, free: 10.32 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.6771, allocations: 37.7 kB / 1.205 GB, free: 10.28 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.6772, allocations: 312.1 kB / 1.205 GB, free: 9.973 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.6773, allocations: 150.7 kB / 1.206 GB, free: 9.824 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.6774, allocations: 102.3 kB / 1.206 GB, free: 9.719 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6775, allocations: 366.7 kB / 1.206 GB, free: 9.352 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.6778, allocations: 185.2 kB / 1.206 GB, free: 9.172 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.6781, allocations: 428.1 kB / 1.207 GB, free: 8.664 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.6787, allocations: 0.5281 MB / 1.207 GB, free: 8.074 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6787, allocations: 0 / 1.207 GB, free: 8.074 MB / 1.042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001008/0.6797, allocations: 0.6877 MB / 1.208 GB, free: 7.375 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6797, allocations: 8 kB / 1.208 GB, free: 7.367 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6797, allocations: 4 kB / 1.208 GB, free: 7.363 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.68, allocations: 122 kB / 1.208 GB, free: 7.238 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.6803, allocations: 111.8 kB / 1.208 GB, free: 7.129 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.6823, allocations: 3.196 MB / 1.211 GB, free: 3.711 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.6825, allocations: 27.98 kB / 1.211 GB, free: 3.684 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.6826, allocations: 23.98 kB / 1.211 GB, free: 3.66 MB / 1.042 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000413/0.683, allocations: 197.8 kB / 1.211 GB, free: 3.457 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6831, allocations: 59.61 kB / 1.211 GB, free: 3.398 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008463/0.6839, allocations: 0.6469 MB / 1.212 GB, free: 2.723 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6839, allocations: 4 kB / 1.212 GB, free: 2.719 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.6839, allocations: 0 / 1.212 GB, free: 2.719 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6839, allocations: 5.625 kB / 1.212 GB, free: 2.715 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.6852, allocations: 1.101 MB / 1.213 GB, free: 1.512 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6852, allocations: 7.938 kB / 1.213 GB, free: 1.504 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.6854, allocations: 71.92 kB / 1.213 GB, free: 1.434 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.6855, allocations: 68.84 kB / 1.213 GB, free: 1.363 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.6855, allocations: 8 kB / 1.213 GB, free: 1.355 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009939/0.6865, allocations: 1.623 MB / 1.215 GB, free: 15.62 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6865, allocations: 8.062 kB / 1.215 GB, free: 15.61 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.6873, allocations: 0.724 MB / 1.216 GB, free: 14.82 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.6874, allocations: 47.77 kB / 1.216 GB, free: 14.78 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.6874, allocations: 19.98 kB / 1.216 GB, free: 14.76 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.6877, allocations: 19.98 kB / 1.216 GB, free: 14.74 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.6877, allocations: 39.83 kB / 1.216 GB, free: 14.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.6877, allocations: 12 kB / 1.216 GB, free: 14.69 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002758/0.688, allocations: 358.8 kB / 1.216 GB, free: 14.34 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.688, allocations: 0 / 1.216 GB, free: 14.34 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002055/0.6901, allocations: 0.5656 MB / 1.217 GB, free: 13.77 MB / 1.057 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 (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.002586/0.6926, allocations: 1.771 MB / 1.218 GB, free: 11.93 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0008587/0.6935, allocations: 0.6435 MB / 1.219 GB, free: 11.26 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6935, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.6938, allocations: 275.4 kB / 1.219 GB, free: 10.97 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.6947, allocations: 315.2 kB / 1.22 GB, free: 10.69 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/0.7002, allocations: 5.285 MB / 1.225 GB, free: 5.094 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.7006, allocations: 266.8 kB / 1.225 GB, free: 4.805 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.7009, allocations: 116.4 kB / 1.225 GB, free: 4.695 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.7011, allocations: 188.4 kB / 1.225 GB, free: 4.512 MB / 1.057 GB Notification: Performance of SimCode: time 7.52e-07/0.7011, allocations: 4 kB / 1.225 GB, free: 4.508 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.8024, allocations: 30.37 MB / 1.255 GB, free: 6.645 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.793/9.595, allocations: 2.844 kB / 1.255 GB, free: 6.645 MB / 1.089 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu) > Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_fmpy.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu) > Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.022194596007466]