Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 249.5 MB / 257 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 176.5 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009301, allocations: 88.86 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.247e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2033, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.551/1.754, allocations: 479.2 MB / 1.353 GB, free: 265.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.755, allocations: 91.8 kB / 1.353 GB, free: 265.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 19.71/21.47, allocations: 5.214 GB / 6.567 GB, free: 61.85 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.544e-06/21.47, allocations: 2.281 kB / 6.567 GB, free: 61.85 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.003034/21.47, allocations: 321.6 kB / 6.567 GB, free: 61.79 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.03969/21.51, allocations: 10.63 MB / 6.578 GB, free: 57.31 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/21.51, allocations: 9.969 kB / 6.578 GB, free: 57.31 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/21.52, allocations: 2.476 MB / 6.58 GB, free: 56.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05793/21.58, allocations: 19.04 MB / 6.599 GB, free: 54.57 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007446/21.58, allocations: 241.9 kB / 6.599 GB, free: 54.57 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003747/21.59, allocations: 452.6 kB / 6.599 GB, free: 54.56 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01668/21.6, allocations: 5.56 MB / 6.605 GB, free: 54.53 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02429/21.63, allocations: 7.219 MB / 6.612 GB, free: 53.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004785/21.63, allocations: 14.78 kB / 6.612 GB, free: 53.34 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002505/21.63, allocations: 18.48 kB / 6.612 GB, free: 53.34 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003209/21.63, allocations: 201.6 kB / 6.612 GB, free: 53.34 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.07345/21.71, allocations: 44.97 MB / 6.656 GB, free: 27.56 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007168/21.71, allocations: 3.626 MB / 6.66 GB, free: 27.51 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003299/21.72, allocations: 2.006 MB / 6.662 GB, free: 27.47 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02156/21.74, allocations: 9.437 MB / 6.671 GB, free: 23.62 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003006/21.74, allocations: 1.831 MB / 6.673 GB, free: 23.52 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006683/21.75, allocations: 0.5359 MB / 6.673 GB, free: 23.35 MB / 1.151 GB Notification: Performance of pre-optimization done (n=339): time 1.335e-05/21.75, allocations: 0 / 6.673 GB, free: 23.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=339): time 0.01213/21.76, allocations: 4.383 MB / 6.677 GB, free: 22.62 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/21.76, allocations: 88.36 kB / 6.678 GB, free: 22.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/21.78, allocations: 7.609 MB / 6.685 GB, free: 21.96 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/21.78, allocations: 38.73 kB / 6.685 GB, free: 21.93 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006301/21.79, allocations: 5.519 MB / 6.69 GB, free: 20.37 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001778/21.79, allocations: 1.124 MB / 6.691 GB, free: 19.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/21.79, allocations: 5.031 kB / 6.691 GB, free: 19.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003135/21.79, allocations: 491.7 kB / 6.692 GB, free: 19.31 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/21.79, allocations: 1.461 MB / 6.693 GB, free: 19.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/21.79, allocations: 3.554 MB / 6.697 GB, free: 16.69 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005791/21.8, allocations: 2.344 MB / 6.699 GB, free: 16.63 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.246e-05/21.8, allocations: 18.5 kB / 6.699 GB, free: 16.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01616/21.82, allocations: 5.909 MB / 6.705 GB, free: 15.92 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.01278/21.83, allocations: 31.14 MB / 6.735 GB, free: 14.85 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/21.83, allocations: 55.66 kB / 6.735 GB, free: 14.85 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/21.83, allocations: 493.9 kB / 6.736 GB, free: 14.77 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005075/21.84, allocations: 1.115 MB / 6.737 GB, free: 14.77 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006891/21.84, allocations: 8.222 MB / 6.745 GB, free: 24.06 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/21.85, allocations: 0.6126 MB / 6.746 GB, free: 24 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/21.85, allocations: 270.5 kB / 6.746 GB, free: 24 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/21.85, allocations: 6.531 kB / 6.746 GB, free: 24 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01039/21.86, allocations: 4.7 MB / 6.75 GB, free: 23.82 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/21.86, allocations: 52.19 kB / 6.75 GB, free: 23.82 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009933/21.87, allocations: 495.8 kB / 6.751 GB, free: 23.75 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00396/21.87, allocations: 1.083 MB / 6.752 GB, free: 23.75 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/21.88, allocations: 8.231 MB / 6.76 GB, free: 17.04 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/21.89, allocations: 0.5916 MB / 6.761 GB, free: 16.99 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/21.89, allocations: 255.5 kB / 6.761 GB, free: 16.99 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002305/21.89, allocations: 302.1 kB / 6.761 GB, free: 16.84 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01202/21.9, allocations: 4.205 MB / 6.765 GB, free: 16.12 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003179/21.91, allocations: 0.9641 MB / 6.766 GB, free: 15.61 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/21.92, allocations: 4.929 MB / 6.771 GB, free: 15.24 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/21.92, allocations: 43.98 kB / 6.771 GB, free: 15.24 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/21.92, allocations: 0 / 6.771 GB, free: 15.24 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006213/21.92, allocations: 3.441 MB / 6.774 GB, free: 15 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.02949/21.95, allocations: 11.31 MB / 6.785 GB, free: 14.34 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/21.95, allocations: 0 / 6.785 GB, free: 14.34 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003146/21.96, allocations: 0.7096 MB / 6.786 GB, free: 14.34 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000984/21.96, allocations: 423.1 kB / 6.787 GB, free: 14.26 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002669/21.96, allocations: 72.31 kB / 6.787 GB, free: 14.26 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00662/21.96, allocations: 8.118 MB / 6.795 GB, free: 23.56 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/21.96, allocations: 0 / 6.795 GB, free: 23.56 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/21.98, allocations: 6.769 MB / 6.801 GB, free: 22.46 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006841/21.98, allocations: 1.705 MB / 6.803 GB, free: 21.84 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003206/21.99, allocations: 13.81 kB / 6.803 GB, free: 21.84 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008262/22, allocations: 0.5841 MB / 6.803 GB, free: 21.8 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/22, allocations: 233.2 kB / 6.804 GB, free: 21.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005047/22, allocations: 184 kB / 6.804 GB, free: 21.8 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01196/22.01, allocations: 5.715 MB / 6.809 GB, free: 21.51 MB / 1.214 GB Notification: Performance of sort global known variables: time 5.21e-07/22.01, allocations: 0 / 6.809 GB, free: 21.51 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0275/22.04, allocations: 5.526 MB / 6.815 GB, free: 20.64 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02941/22.07, allocations: 13.84 MB / 6.828 GB, free: 15.69 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01483/22.08, allocations: 7.245 MB / 6.835 GB, free: 15.13 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/22.08, allocations: 2.531 kB / 6.835 GB, free: 15.13 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.003921/22.08, allocations: 2.086 MB / 6.837 GB, free: 14.89 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02627/22.11, allocations: 4.696 MB / 6.842 GB, free: 14.63 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05317/22.16, allocations: 16.9 MB / 6.858 GB, free: 10.17 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009922/22.17, allocations: 5.666 MB / 6.864 GB, free: 9.105 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.02049/22.19, allocations: 3.749 MB / 6.868 GB, free: 8.609 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007119/22.2, allocations: 4.874 MB / 6.872 GB, free: 8.602 MB / 1.214 GB Notification: Performance of SimCode: time 1.723e-06/22.2, allocations: 4 kB / 6.872 GB, free: 8.598 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.388/23.59, allocations: 283.6 MB / 7.149 GB, free: 127.9 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/23.59, allocations: 214.3 kB / 7.15 GB, free: 127.6 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/40.31, allocations: 0 / 7.15 GB, free: 127.6 MB / 1.229 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)