Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.282/2.282, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001213/0.001213, allocations: 182.8 kB / 0.4901 GB, free: 2.242 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.737/1.737, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.000976/0.0009756, allocations: 97.75 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003808, allocations: 10.22 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3543, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.045/6.4, allocations: 2.156 GB / 3.385 GB, free: 234.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/6.4, allocations: 88.02 kB / 3.385 GB, free: 234.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.988/8.388, allocations: 0.6592 GB / 4.044 GB, free: 30.62 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.974e-06/8.389, allocations: 3.938 kB / 4.044 GB, free: 30.62 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002671/8.389, allocations: 31.98 kB / 4.044 GB, free: 30.59 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007415/8.396, allocations: 1.641 MB / 4.046 GB, free: 28.89 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/8.396, allocations: 8.031 kB / 4.046 GB, free: 28.88 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004998/8.397, allocations: 114.4 kB / 4.046 GB, free: 28.76 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/8.4, allocations: 0.541 MB / 4.046 GB, free: 28.21 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02653/8.427, allocations: 13.23 MB / 4.059 GB, free: 14.82 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/8.428, allocations: 321.2 kB / 4.06 GB, free: 14.51 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/8.428, allocations: 67.94 kB / 4.06 GB, free: 14.45 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/8.431, allocations: 1.174 MB / 4.061 GB, free: 13.23 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/8.431, allocations: 8 kB / 4.061 GB, free: 13.22 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/8.431, allocations: 20 kB / 4.061 GB, free: 13.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/8.431, allocations: 41.3 kB / 4.061 GB, free: 13.16 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/8.434, allocations: 1.161 MB / 4.062 GB, free: 12 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.006809/8.441, allocations: 3.311 MB / 4.065 GB, free: 8.613 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/8.443, allocations: 0.7058 MB / 4.066 GB, free: 7.895 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007312/8.443, allocations: 1.029 MB / 4.067 GB, free: 6.645 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009526/8.444, allocations: 0.5377 MB / 4.068 GB, free: 6.082 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 3.987e-06/8.444, allocations: 4 kB / 4.068 GB, free: 6.078 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.002934/8.447, allocations: 1.372 MB / 4.069 GB, free: 4.676 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/8.447, allocations: 136.9 kB / 4.069 GB, free: 4.512 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/8.449, allocations: 1.085 MB / 4.07 GB, free: 3.414 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/8.449, allocations: 45.64 kB / 4.07 GB, free: 3.363 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/8.45, allocations: 433.9 kB / 4.071 GB, free: 2.938 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/8.45, allocations: 193.2 kB / 4.071 GB, free: 2.746 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/8.45, allocations: 12 kB / 4.071 GB, free: 2.734 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/8.45, allocations: 338 kB / 4.071 GB, free: 2.398 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/8.451, allocations: 492.9 kB / 4.072 GB, free: 1.918 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/8.452, allocations: 0.703 MB / 4.072 GB, free: 1.145 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/8.453, allocations: 0.5567 MB / 4.073 GB, free: 0.5781 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/8.453, allocations: 0 / 4.073 GB, free: 0.5781 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.7275/9.181, allocations: 1.32 MB / 4.074 GB, free: 256.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/9.181, allocations: 34.61 kB / 4.074 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/9.181, allocations: 3.75 kB / 4.074 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/9.181, allocations: 6.25 kB / 4.074 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/9.182, allocations: 222.5 kB / 4.074 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/9.182, allocations: 8.469 kB / 4.074 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/9.184, allocations: 306.8 kB / 4.075 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/9.184, allocations: 50.78 kB / 4.075 GB, free: 256.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (67): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005873/9.185, allocations: 326.7 kB / 4.075 GB, free: 256.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/9.185, allocations: 116.7 kB / 4.075 GB, free: 256.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/9.187, allocations: 1.064 MB / 4.076 GB, free: 256.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/9.187, allocations: 8.297 kB / 4.076 GB, free: 256.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/9.187, allocations: 3.625 kB / 4.076 GB, free: 256.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/9.188, allocations: 8.781 kB / 4.076 GB, free: 256.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006144/9.194, allocations: 3.244 MB / 4.079 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/9.194, allocations: 7.188 kB / 4.079 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/9.194, allocations: 126.4 kB / 4.079 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/9.194, allocations: 18.91 kB / 4.079 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.322e-05/9.194, allocations: 25.64 kB / 4.08 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/9.195, allocations: 12.28 kB / 4.08 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/9.195, allocations: 12.48 kB / 4.08 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/9.197, allocations: 1.802 MB / 4.081 GB, free: 254.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007086/9.198, allocations: 336.2 kB / 4.082 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/9.198, allocations: 32.81 kB / 4.082 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/9.199, allocations: 127.2 kB / 4.082 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/9.199, allocations: 63.81 kB / 4.082 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/9.2, allocations: 47.45 kB / 4.082 GB, free: 254.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001838/9.201, allocations: 0.875 MB / 4.083 GB, free: 254.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/9.201, allocations: 3.375 kB / 4.083 GB, free: 254.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001932/9.203, allocations: 435.8 kB / 4.083 GB, free: 254.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005751/9.209, allocations: 5.892 MB / 4.089 GB, free: 250.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002762/9.212, allocations: 1.079 MB / 4.09 GB, free: 250.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/9.212, allocations: 1.156 kB / 4.09 GB, free: 250.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/9.213, allocations: 0.5281 MB / 4.09 GB, free: 250.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/9.216, allocations: 0.5247 MB / 4.091 GB, free: 250.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/9.232, allocations: 9.213 MB / 4.1 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/9.233, allocations: 1.09 MB / 4.101 GB, free: 245.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00165/9.234, allocations: 283.5 kB / 4.101 GB, free: 245.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006157/9.235, allocations: 365.6 kB / 4.102 GB, free: 245.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/9.235, allocations: 0 / 4.102 GB, free: 245.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09705/9.332, allocations: 51.82 MB / 4.152 GB, free: 244.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/9.332, allocations: 254.1 kB / 4.153 GB, free: 244.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/13, allocations: 0 / 4.153 GB, free: 244.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat does not exist to compare? outputFormat=mat