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.299/2.299, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001094/0.001093, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.663/1.663, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009117/0.0009114, allocations: 107.6 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.571e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.542, allocations: 400.4 MB / 1.597 GB, free: 5.32 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.542, allocations: 90.19 kB / 1.597 GB, free: 5.273 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.255/2.797, allocations: 257.7 MB / 1.849 GB, free: 357.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.595e-06/2.797, allocations: 2.969 kB / 1.849 GB, free: 357.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001045/2.797, allocations: 22.14 kB / 1.849 GB, free: 357.1 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.003203/2.8, allocations: 0.9169 MB / 1.85 GB, free: 356.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/2.8, allocations: 10.91 kB / 1.85 GB, free: 356.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/2.802, allocations: 187.3 kB / 1.85 GB, free: 356.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.025/2.827, allocations: 11.98 MB / 1.862 GB, free: 349.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/2.827, allocations: 80.41 kB / 1.862 GB, free: 349.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/2.827, allocations: 25.06 kB / 1.862 GB, free: 349.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006737/2.828, allocations: 295 kB / 1.862 GB, free: 349 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/2.829, allocations: 412.3 kB / 1.862 GB, free: 348.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/2.829, allocations: 0 / 1.862 GB, free: 348.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/2.829, allocations: 0 / 1.862 GB, free: 348.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/2.829, allocations: 24.28 kB / 1.862 GB, free: 348.7 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.003099/2.832, allocations: 2.185 MB / 1.865 GB, free: 346.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/2.832, allocations: 262.9 kB / 1.865 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/2.833, allocations: 165.3 kB / 1.865 GB, free: 346 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/2.833, allocations: 344.6 kB / 1.865 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/2.833, allocations: 246.8 kB / 1.866 GB, free: 345.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.395e-06/2.833, allocations: 0 / 1.866 GB, free: 345.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001157/2.834, allocations: 481.1 kB / 1.866 GB, free: 344.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/2.834, allocations: 81.11 kB / 1.866 GB, free: 344.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/2.835, allocations: 373.3 kB / 1.866 GB, free: 344.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/2.835, allocations: 29.7 kB / 1.866 GB, free: 344.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/2.835, allocations: 284.1 kB / 1.867 GB, free: 344.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/2.835, allocations: 98.56 kB / 1.867 GB, free: 344 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/2.835, allocations: 3.938 kB / 1.867 GB, free: 344 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/2.835, allocations: 358.8 kB / 1.867 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/2.836, allocations: 120 kB / 1.867 GB, free: 343.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/2.836, allocations: 223.8 kB / 1.868 GB, free: 343.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/2.836, allocations: 162.4 kB / 1.868 GB, free: 343.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/2.836, allocations: 0 / 1.868 GB, free: 343.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009292/2.837, allocations: 0.501 MB / 1.868 GB, free: 342.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/2.837, allocations: 0.6414 MB / 1.869 GB, free: 341.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/2.837, allocations: 11.98 kB / 1.869 GB, free: 341.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/2.837, allocations: 44.8 kB / 1.869 GB, free: 341.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/2.838, allocations: 87.88 kB / 1.869 GB, free: 341.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003675/2.838, allocations: 0.5915 MB / 1.869 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/2.839, allocations: 71.69 kB / 1.87 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/2.839, allocations: 23.98 kB / 1.87 GB, free: 341.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/2.839, allocations: 5.719 kB / 1.87 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007677/2.84, allocations: 436.1 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/2.84, allocations: 0 / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/2.84, allocations: 48.83 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/2.84, allocations: 84.08 kB / 1.87 GB, free: 340.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/2.841, allocations: 1.574 MB / 1.872 GB, free: 338.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/2.842, allocations: 75.69 kB / 1.872 GB, free: 338.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/2.842, allocations: 19.98 kB / 1.872 GB, free: 338.7 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.000171/2.842, allocations: 146.9 kB / 1.872 GB, free: 338.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008213/2.843, allocations: 473.5 kB / 1.872 GB, free: 338.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/2.843, allocations: 51.44 kB / 1.872 GB, free: 338 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009423/2.844, allocations: 0.5246 MB / 1.873 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/2.844, allocations: 4 kB / 1.873 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/2.844, allocations: 3.953 kB / 1.873 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007327/2.845, allocations: 0.6882 MB / 1.874 GB, free: 336.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/2.847, allocations: 1.132 MB / 1.875 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/2.847, allocations: 0 / 1.875 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/2.847, allocations: 71.98 kB / 1.875 GB, free: 335.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.594e-05/2.847, allocations: 40.8 kB / 1.875 GB, free: 335.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/2.847, allocations: 10.42 kB / 1.875 GB, free: 335.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002611/2.847, allocations: 0.5757 MB / 1.875 GB, free: 334.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/2.847, allocations: 3.938 kB / 1.875 GB, free: 334.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/2.848, allocations: 0.8457 MB / 1.876 GB, free: 333.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/2.849, allocations: 188.3 kB / 1.876 GB, free: 333.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/2.849, allocations: 4 kB / 1.876 GB, free: 333.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/2.849, allocations: 56 kB / 1.876 GB, free: 333.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/2.849, allocations: 23.97 kB / 1.876 GB, free: 333.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/2.85, allocations: 19.98 kB / 1.876 GB, free: 333.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002834/2.85, allocations: 286.9 kB / 1.877 GB, free: 333.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/2.85, allocations: 4 kB / 1.877 GB, free: 333.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001365/2.851, allocations: 371.3 kB / 1.877 GB, free: 333 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.002036/2.853, allocations: 1.877 MB / 1.879 GB, free: 331.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001162/2.854, allocations: 0.8045 MB / 1.88 GB, free: 330.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/2.854, allocations: 0 / 1.88 GB, free: 330.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/2.855, allocations: 267.4 kB / 1.88 GB, free: 330 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/2.856, allocations: 227.9 kB / 1.88 GB, free: 329.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/2.858, allocations: 0.9061 MB / 1.881 GB, free: 328.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/2.858, allocations: 0.8948 MB / 1.882 GB, free: 327.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006693/2.859, allocations: 144.2 kB / 1.882 GB, free: 327.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/2.859, allocations: 191.4 kB / 1.882 GB, free: 327.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.303e-06/2.859, allocations: 0 / 1.882 GB, free: 327.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/2.903, allocations: 15.97 MB / 1.898 GB, free: 311.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/2.903, allocations: 172.8 kB / 1.898 GB, free: 311.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/5.578, allocations: 2.25 kB / 1.898 GB, free: 311.5 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