Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.506/2.506, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001228/0.001227, allocations: 186.7 kB / 0.4901 GB, free: 2.246 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.736/1.736, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0011/0.0011, allocations: 104.7 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004206, allocations: 10.47 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.358, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.662, allocations: 402 MB / 1.622 GB, free: 10.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/1.662, allocations: 88.33 kB / 1.622 GB, free: 10.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.259/2.921, allocations: 260.1 MB / 1.876 GB, free: 351.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/2.922, allocations: 3.219 kB / 1.876 GB, free: 351.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.079e-05/2.922, allocations: 20.25 kB / 1.876 GB, free: 351.9 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.002219/2.924, allocations: 1.038 MB / 1.877 GB, free: 351.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/2.924, allocations: 12.31 kB / 1.877 GB, free: 351.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/2.924, allocations: 76.36 kB / 1.877 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/2.925, allocations: 181.7 kB / 1.877 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02723/2.952, allocations: 12.09 MB / 1.889 GB, free: 350.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/2.953, allocations: 94.81 kB / 1.889 GB, free: 350.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/2.953, allocations: 43.47 kB / 1.889 GB, free: 350.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/2.954, allocations: 0.5049 MB / 1.89 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/2.954, allocations: 1.062 kB / 1.89 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/2.954, allocations: 19.09 kB / 1.89 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/2.954, allocations: 20.98 kB / 1.89 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/2.955, allocations: 424 kB / 1.89 GB, free: 350.7 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.003119/2.958, allocations: 2.262 MB / 1.892 GB, free: 349.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/2.959, allocations: 386.1 kB / 1.893 GB, free: 349.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/2.96, allocations: 347.2 kB / 1.893 GB, free: 348.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006103/2.96, allocations: 311 kB / 1.893 GB, free: 348.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/2.96, allocations: 0 / 1.893 GB, free: 348.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.002285/2.962, allocations: 0.9676 MB / 1.894 GB, free: 348.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/2.962, allocations: 84.55 kB / 1.894 GB, free: 348.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/2.963, allocations: 430.5 kB / 1.895 GB, free: 348.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/2.963, allocations: 36.42 kB / 1.895 GB, free: 348.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/2.963, allocations: 283.4 kB / 1.895 GB, free: 348.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/2.963, allocations: 103.2 kB / 1.895 GB, free: 348.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/2.964, allocations: 9.562 kB / 1.895 GB, free: 348.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/2.964, allocations: 359.7 kB / 1.895 GB, free: 347.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/2.964, allocations: 185.1 kB / 1.896 GB, free: 347.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/2.965, allocations: 281.8 kB / 1.896 GB, free: 347.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/2.965, allocations: 226.7 kB / 1.896 GB, free: 347.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/2.965, allocations: 2.625 kB / 1.896 GB, free: 347.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001388/2.966, allocations: 0.6416 MB / 1.897 GB, free: 347.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/2.967, allocations: 0.6496 MB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/2.967, allocations: 1.625 kB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/2.967, allocations: 52.89 kB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/2.967, allocations: 85.02 kB / 1.898 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003587/2.968, allocations: 0.5931 MB / 1.898 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/2.968, allocations: 86.25 kB / 1.898 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/2.968, allocations: 22.75 kB / 1.898 GB, free: 346.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/2.968, allocations: 4.781 kB / 1.898 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001329/2.97, allocations: 0.5762 MB / 1.899 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/2.97, allocations: 5.266 kB / 1.899 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/2.97, allocations: 49.44 kB / 1.899 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/2.97, allocations: 93.03 kB / 1.899 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/2.972, allocations: 1.632 MB / 1.9 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/2.972, allocations: 81.8 kB / 1.901 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/2.972, allocations: 17.78 kB / 1.901 GB, free: 344.9 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.0003945/2.973, allocations: 302.7 kB / 1.901 GB, free: 344.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/2.973, allocations: 60.89 kB / 1.901 GB, free: 344.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/2.974, allocations: 0.6805 MB / 1.902 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/2.974, allocations: 7.406 kB / 1.902 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/2.974, allocations: 0 / 1.902 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/2.975, allocations: 0.8295 MB / 1.902 GB, free: 344.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/2.978, allocations: 1.321 MB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/2.978, allocations: 4.438 kB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/2.979, allocations: 65.94 kB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/2.979, allocations: 48.14 kB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/2.979, allocations: 21.38 kB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003062/2.979, allocations: 0.5814 MB / 1.904 GB, free: 343.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.979, allocations: 1.219 kB / 1.904 GB, free: 343.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/2.981, allocations: 1.04 MB / 1.905 GB, free: 343 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/2.982, allocations: 187.1 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/2.982, allocations: 9.375 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/2.982, allocations: 76.56 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/2.982, allocations: 18.89 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/2.982, allocations: 23.03 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003905/2.983, allocations: 346.1 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/2.983, allocations: 0 / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001302/2.984, allocations: 381.3 kB / 1.906 GB, free: 342.7 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.002463/2.987, allocations: 2.062 MB / 1.908 GB, free: 341.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001846/2.988, allocations: 0.9874 MB / 1.909 GB, free: 341.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.988, allocations: 3.906 kB / 1.909 GB, free: 341.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/2.989, allocations: 320 kB / 1.91 GB, free: 341.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/2.99, allocations: 242.8 kB / 1.91 GB, free: 341.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/2.995, allocations: 4.338 MB / 1.914 GB, free: 339.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/2.996, allocations: 0.8902 MB / 1.915 GB, free: 338.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005544/2.996, allocations: 132.6 kB / 1.915 GB, free: 338.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/2.997, allocations: 198 kB / 1.915 GB, free: 338.7 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/2.997, allocations: 3.094 kB / 1.915 GB, free: 338.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/3.029, allocations: 17.87 MB / 1.933 GB, free: 338.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/3.029, allocations: 255 kB / 1.933 GB, free: 337.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/5.654, allocations: 5.25 kB / 1.933 GB, free: 337.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat does not exist to compare? outputFormat=mat