Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.628/2.628, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 186.4 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 82.94 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006894/0.0006896, allocations: 11.62 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2654, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.296/1.562, allocations: 389 MB / 1.358 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/1.562, allocations: 96.81 kB / 1.358 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.5/3.062, allocations: 254.6 MB / 1.607 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.224e-06/3.062, allocations: 0 / 1.607 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.995e-05/3.062, allocations: 16 kB / 1.607 GB, free: 180.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002428/3.065, allocations: 1.024 MB / 1.608 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/3.065, allocations: 15.97 kB / 1.608 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/3.065, allocations: 78.45 kB / 1.608 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/3.066, allocations: 187 kB / 1.608 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03651/3.103, allocations: 11.84 MB / 1.62 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005602/3.103, allocations: 96.94 kB / 1.62 GB, free: 167 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/3.103, allocations: 36 kB / 1.62 GB, free: 167 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/3.105, allocations: 0.5047 MB / 1.62 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/3.105, allocations: 7.875 kB / 1.62 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/3.105, allocations: 19.95 kB / 1.62 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/3.105, allocations: 8 kB / 1.62 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/3.107, allocations: 422.6 kB / 1.621 GB, free: 166 MB / 0.9323 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.003935/3.111, allocations: 2.257 MB / 1.623 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/3.112, allocations: 394.9 kB / 1.623 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/3.113, allocations: 340.7 kB / 1.624 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009228/3.114, allocations: 316 kB / 1.624 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.627e-06/3.114, allocations: 0 / 1.624 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.003348/3.117, allocations: 0.9533 MB / 1.625 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/3.117, allocations: 89.09 kB / 1.625 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/3.118, allocations: 434 kB / 1.625 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/3.118, allocations: 37.7 kB / 1.625 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/3.118, allocations: 276.4 kB / 1.626 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/3.118, allocations: 102.5 kB / 1.626 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/3.118, allocations: 8 kB / 1.626 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001009/3.118, allocations: 362.8 kB / 1.626 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007338/3.119, allocations: 180.6 kB / 1.626 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/3.12, allocations: 293.1 kB / 1.627 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007952/3.121, allocations: 229.5 kB / 1.627 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/3.121, allocations: 0 / 1.627 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002089/3.123, allocations: 0.6342 MB / 1.627 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/3.123, allocations: 0.6531 MB / 1.628 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/3.123, allocations: 0 / 1.628 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/3.123, allocations: 56.8 kB / 1.628 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/3.124, allocations: 83.89 kB / 1.628 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/3.124, allocations: 0.5992 MB / 1.629 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009406/3.125, allocations: 79.69 kB / 1.629 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/3.125, allocations: 23.98 kB / 1.629 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/3.125, allocations: 4 kB / 1.629 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/3.127, allocations: 0.576 MB / 1.63 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/3.127, allocations: 0 / 1.63 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/3.128, allocations: 52.89 kB / 1.63 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/3.128, allocations: 87.94 kB / 1.63 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/3.13, allocations: 1.638 MB / 1.631 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/3.131, allocations: 83.62 kB / 1.631 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/3.131, allocations: 23.98 kB / 1.631 GB, free: 154.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004464/3.131, allocations: 298.7 kB / 1.632 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/3.132, allocations: 55.34 kB / 1.632 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/3.134, allocations: 0.6727 MB / 1.632 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/3.134, allocations: 4 kB / 1.632 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/3.134, allocations: 0 / 1.632 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001944/3.136, allocations: 0.8175 MB / 1.633 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/3.139, allocations: 1.331 MB / 1.634 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/3.139, allocations: 8 kB / 1.634 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/3.14, allocations: 63.94 kB / 1.635 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/3.14, allocations: 44.91 kB / 1.635 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/3.14, allocations: 15.98 kB / 1.635 GB, free: 151 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003619/3.14, allocations: 0.5756 MB / 1.635 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/3.14, allocations: 0 / 1.635 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/3.143, allocations: 1.039 MB / 1.636 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/3.144, allocations: 192.3 kB / 1.636 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/3.144, allocations: 11.95 kB / 1.636 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/3.145, allocations: 71.84 kB / 1.636 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/3.145, allocations: 27.91 kB / 1.636 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/3.145, allocations: 27.92 kB / 1.636 GB, free: 149 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005118/3.145, allocations: 338.8 kB / 1.637 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.01e-07/3.146, allocations: 0 / 1.637 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001682/3.147, allocations: 367.5 kB / 1.637 GB, free: 148.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003979/3.151, allocations: 2.065 MB / 1.639 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003138/3.154, allocations: 0.9957 MB / 1.64 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/3.154, allocations: 0 / 1.64 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/3.155, allocations: 319.5 kB / 1.64 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/3.158, allocations: 245.1 kB / 1.641 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008511/3.166, allocations: 4.342 MB / 1.645 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/3.167, allocations: 0.9017 MB / 1.646 GB, free: 139.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008926/3.167, allocations: 120.3 kB / 1.646 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/3.168, allocations: 195.3 kB / 1.646 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.022e-06/3.168, allocations: 0 / 1.646 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05396/3.222, allocations: 17.84 MB / 1.664 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/3.222, allocations: 262.2 kB / 1.664 GB, free: 121 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.299/6.521, allocations: 0 / 1.664 GB, free: 121 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)