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.265/2.265, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001981/0.001981, allocations: 185.9 kB / 498.1 MB, free: 5.691 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.552/1.552, allocations: 223.1 MB / 0.7948 GB, free: 17.94 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.001251/0.001251, allocations: 107.8 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003952, allocations: 6.969 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2795, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.167, allocations: 401.2 MB / 1.615 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.168, allocations: 93.89 kB / 1.615 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.5341/1.702, allocations: 260.1 MB / 1.869 GB, free: 3.879 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.445e-06/1.702, allocations: 0 / 1.869 GB, free: 3.879 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.649e-05/1.702, allocations: 27.92 kB / 1.869 GB, free: 3.852 MB / 1.167 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.002661/1.705, allocations: 1.035 MB / 1.87 GB, free: 2.758 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.705, allocations: 12.03 kB / 1.87 GB, free: 2.746 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/1.705, allocations: 78.48 kB / 1.87 GB, free: 2.66 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/1.706, allocations: 183 kB / 1.87 GB, free: 2.48 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5593/2.265, allocations: 12.07 MB / 1.882 GB, free: 357.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/2.266, allocations: 97.03 kB / 1.882 GB, free: 357.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/2.266, allocations: 37.88 kB / 1.882 GB, free: 357.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/2.267, allocations: 0.5074 MB / 1.882 GB, free: 357.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/2.267, allocations: 0 / 1.882 GB, free: 357.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/2.267, allocations: 17.33 kB / 1.883 GB, free: 357.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/2.267, allocations: 18.08 kB / 1.883 GB, free: 357.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/2.268, allocations: 426.3 kB / 1.883 GB, free: 357.3 MB / 1.167 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.003271/2.271, allocations: 2.274 MB / 1.885 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/2.273, allocations: 392 kB / 1.886 GB, free: 356 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/2.273, allocations: 342.9 kB / 1.886 GB, free: 355.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006445/2.273, allocations: 316.5 kB / 1.886 GB, free: 355.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/2.273, allocations: 0 / 1.886 GB, free: 355.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.002235/2.276, allocations: 0.9688 MB / 1.887 GB, free: 355.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/2.276, allocations: 81.8 kB / 1.887 GB, free: 355.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/2.276, allocations: 429.8 kB / 1.888 GB, free: 355 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/2.276, allocations: 33.27 kB / 1.888 GB, free: 355 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/2.277, allocations: 284.8 kB / 1.888 GB, free: 354.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.854e-05/2.277, allocations: 104.8 kB / 1.888 GB, free: 354.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/2.277, allocations: 5.781 kB / 1.888 GB, free: 354.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/2.277, allocations: 361.5 kB / 1.888 GB, free: 354.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/2.277, allocations: 179.5 kB / 1.889 GB, free: 354.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/2.278, allocations: 283.4 kB / 1.889 GB, free: 354.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/2.278, allocations: 229.2 kB / 1.889 GB, free: 354.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/2.278, allocations: 1.188 kB / 1.889 GB, free: 354.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001318/2.28, allocations: 0.6301 MB / 1.89 GB, free: 354.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/2.28, allocations: 0.6413 MB / 1.89 GB, free: 353.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/2.28, allocations: 8.438 kB / 1.89 GB, free: 353.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/2.28, allocations: 64.06 kB / 1.89 GB, free: 353.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/2.28, allocations: 85.5 kB / 1.89 GB, free: 353.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003694/2.281, allocations: 0.5959 MB / 1.891 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/2.281, allocations: 85.98 kB / 1.891 GB, free: 353 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/2.281, allocations: 18.34 kB / 1.891 GB, free: 353 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/2.282, allocations: 4.188 kB / 1.891 GB, free: 353 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/2.283, allocations: 0.5749 MB / 1.892 GB, free: 353 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/2.283, allocations: 2.188 kB / 1.892 GB, free: 353 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/2.283, allocations: 52.11 kB / 1.892 GB, free: 353 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/2.283, allocations: 81.89 kB / 1.892 GB, free: 353 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/2.285, allocations: 1.638 MB / 1.893 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/2.285, allocations: 79 kB / 1.893 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/2.285, allocations: 21.95 kB / 1.893 GB, free: 351.6 MB / 1.167 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.0003723/2.286, allocations: 302.2 kB / 1.894 GB, free: 351.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/2.286, allocations: 59.77 kB / 1.894 GB, free: 351.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/2.287, allocations: 0.6706 MB / 1.894 GB, free: 351.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/2.287, allocations: 7.062 kB / 1.894 GB, free: 351.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/2.287, allocations: 0 / 1.894 GB, free: 351.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/2.289, allocations: 0.8279 MB / 1.895 GB, free: 350.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/2.291, allocations: 1.327 MB / 1.897 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/2.291, allocations: 4.375 kB / 1.897 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/2.292, allocations: 67.75 kB / 1.897 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/2.292, allocations: 45.48 kB / 1.897 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/2.292, allocations: 13.84 kB / 1.897 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002681/2.292, allocations: 0.5791 MB / 1.897 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.292, allocations: 7.984 kB / 1.897 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/2.294, allocations: 1.036 MB / 1.898 GB, free: 349.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/2.294, allocations: 196.6 kB / 1.898 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/2.295, allocations: 12 kB / 1.898 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/2.295, allocations: 62.95 kB / 1.899 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/2.295, allocations: 28.56 kB / 1.899 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/2.295, allocations: 25.11 kB / 1.899 GB, free: 349.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004105/2.296, allocations: 342.6 kB / 1.899 GB, free: 349.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/2.296, allocations: 5.625 kB / 1.899 GB, free: 349.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001558/2.297, allocations: 386.5 kB / 1.899 GB, free: 349.4 MB / 1.167 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.002902/2.3, allocations: 2.048 MB / 1.901 GB, free: 348.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001966/2.302, allocations: 0.992 MB / 1.902 GB, free: 348.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.302, allocations: 0 / 1.902 GB, free: 348.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/2.303, allocations: 323.3 kB / 1.903 GB, free: 348.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/2.304, allocations: 239.4 kB / 1.903 GB, free: 348.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/2.311, allocations: 4.353 MB / 1.907 GB, free: 346.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/2.312, allocations: 0.8963 MB / 1.908 GB, free: 345.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006343/2.313, allocations: 125.1 kB / 1.908 GB, free: 345.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/2.313, allocations: 198.3 kB / 1.908 GB, free: 345.4 MB / 1.167 GB Notification: Performance of SimCode: time 7.42e-07/2.313, allocations: 0 / 1.908 GB, free: 345.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/2.347, allocations: 17.86 MB / 1.926 GB, free: 345.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/2.348, allocations: 257.3 kB / 1.926 GB, free: 344.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/4.729, allocations: 3.516 kB / 1.926 GB, free: 344.8 MB / 1.167 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