Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 387.1 MB / 399.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 184.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 87.95 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.49e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2861, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.447, allocations: 401.1 MB / 1.604 GB, free: 12.9 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/1.448, allocations: 85.83 kB / 1.604 GB, free: 12.86 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.258/2.706, allocations: 259.3 MB / 1.858 GB, free: 335.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.984e-06/2.706, allocations: 0 / 1.858 GB, free: 335.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.559e-05/2.706, allocations: 19.61 kB / 1.858 GB, free: 335.7 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002298/2.708, allocations: 0.925 MB / 1.858 GB, free: 334.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/2.708, allocations: 15.47 kB / 1.858 GB, free: 334.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/2.708, allocations: 74.34 kB / 1.859 GB, free: 334.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/2.709, allocations: 183.8 kB / 1.859 GB, free: 334.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02512/2.735, allocations: 12.02 MB / 1.87 GB, free: 325.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/2.735, allocations: 96.72 kB / 1.871 GB, free: 325.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/2.735, allocations: 40 kB / 1.871 GB, free: 325.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009142/2.736, allocations: 461.8 kB / 1.871 GB, free: 324.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/2.736, allocations: 7.938 kB / 1.871 GB, free: 324.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/2.736, allocations: 12 kB / 1.871 GB, free: 324.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/2.736, allocations: 24.72 kB / 1.871 GB, free: 324.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/2.737, allocations: 311 kB / 1.871 GB, free: 324.5 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.003407/2.74, allocations: 2.271 MB / 1.874 GB, free: 322 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/2.741, allocations: 272.3 kB / 1.874 GB, free: 321.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/2.741, allocations: 182.6 kB / 1.874 GB, free: 321.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/2.741, allocations: 340 kB / 1.874 GB, free: 321.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/2.742, allocations: 264.1 kB / 1.875 GB, free: 320.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/2.742, allocations: 0 / 1.875 GB, free: 320.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0009814/2.743, allocations: 490.3 kB / 1.875 GB, free: 320.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/2.743, allocations: 85.09 kB / 1.875 GB, free: 320.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/2.743, allocations: 428.8 kB / 1.876 GB, free: 319.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/2.743, allocations: 33.7 kB / 1.876 GB, free: 319.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/2.744, allocations: 284.4 kB / 1.876 GB, free: 319.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/2.744, allocations: 105.8 kB / 1.876 GB, free: 319.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/2.744, allocations: 8 kB / 1.876 GB, free: 319.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/2.744, allocations: 362.8 kB / 1.876 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/2.744, allocations: 128 kB / 1.876 GB, free: 319 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/2.744, allocations: 241.1 kB / 1.877 GB, free: 318.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/2.745, allocations: 179.7 kB / 1.877 GB, free: 318.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/2.745, allocations: 0 / 1.877 GB, free: 318.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008705/2.745, allocations: 0.5256 MB / 1.877 GB, free: 318 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/2.746, allocations: 0.6531 MB / 1.878 GB, free: 317.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/2.746, allocations: 3.938 kB / 1.878 GB, free: 317.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/2.746, allocations: 48.83 kB / 1.878 GB, free: 317.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/2.746, allocations: 83.89 kB / 1.878 GB, free: 317.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003995/2.747, allocations: 0.5915 MB / 1.879 GB, free: 316.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/2.747, allocations: 83.64 kB / 1.879 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/2.747, allocations: 27.92 kB / 1.879 GB, free: 316.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/2.747, allocations: 8 kB / 1.879 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007263/2.748, allocations: 474.5 kB / 1.879 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/2.748, allocations: 0 / 1.879 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/2.748, allocations: 57.02 kB / 1.879 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/2.749, allocations: 83.94 kB / 1.879 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/2.75, allocations: 1.623 MB / 1.881 GB, free: 314 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/2.751, allocations: 91.7 kB / 1.881 GB, free: 313.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/2.751, allocations: 23.98 kB / 1.881 GB, free: 313.9 MB / 1.151 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 () * 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.0001663/2.751, allocations: 150.6 kB / 1.881 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/2.751, allocations: 55.34 kB / 1.881 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009454/2.752, allocations: 0.5829 MB / 1.882 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/2.752, allocations: 0 / 1.882 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/2.752, allocations: 4 kB / 1.882 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006965/2.753, allocations: 0.7254 MB / 1.883 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/2.754, allocations: 1.22 MB / 1.884 GB, free: 311 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/2.754, allocations: 3.938 kB / 1.884 GB, free: 311 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/2.755, allocations: 72.05 kB / 1.884 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/2.755, allocations: 44.81 kB / 1.884 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/2.755, allocations: 12 kB / 1.884 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002691/2.755, allocations: 0.5874 MB / 1.884 GB, free: 310.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/2.755, allocations: 0 / 1.884 GB, free: 310.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/2.756, allocations: 0.8834 MB / 1.885 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/2.757, allocations: 188.2 kB / 1.885 GB, free: 309.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/2.757, allocations: 15.95 kB / 1.886 GB, free: 309.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/2.757, allocations: 68.06 kB / 1.886 GB, free: 309 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/2.757, allocations: 19.97 kB / 1.886 GB, free: 309 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/2.757, allocations: 23.98 kB / 1.886 GB, free: 309 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003621/2.758, allocations: 349.5 kB / 1.886 GB, free: 308.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.5e-07/2.758, allocations: 0 / 1.886 GB, free: 308.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001412/2.759, allocations: 375.5 kB / 1.886 GB, free: 308.3 MB / 1.151 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) * 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.002183/2.761, allocations: 1.911 MB / 1.888 GB, free: 306.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001275/2.763, allocations: 0.8573 MB / 1.889 GB, free: 305.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/2.763, allocations: 0 / 1.889 GB, free: 305.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/2.763, allocations: 276.1 kB / 1.889 GB, free: 305.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/2.764, allocations: 246.8 kB / 1.89 GB, free: 304.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/2.767, allocations: 0.9522 MB / 1.89 GB, free: 303.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/2.767, allocations: 0.8872 MB / 1.891 GB, free: 303 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007113/2.768, allocations: 152.4 kB / 1.891 GB, free: 302.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/2.768, allocations: 191.4 kB / 1.892 GB, free: 302.7 MB / 1.151 GB Notification: Performance of SimCode: time 6.62e-07/2.768, allocations: 0 / 1.892 GB, free: 302.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/2.808, allocations: 18.87 MB / 1.91 GB, free: 284.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/2.808, allocations: 228.5 kB / 1.91 GB, free: 283.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/5.657, allocations: 3.938 kB / 1.91 GB, free: 283.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat does not exist to compare? outputFormat=mat