Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.159/2.159, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001069/0.001069, allocations: 176.8 kB / 487.4 MB, free: 4.992 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.652/1.652, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.001008/0.001008, allocations: 91.53 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.258e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3594, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.284/6.644, allocations: 2.154 GB / 3.36 GB, free: 170.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/6.644, allocations: 87.75 kB / 3.36 GB, free: 170.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.765/9.409, allocations: 0.6515 GB / 4.012 GB, free: 265.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.522e-06/9.409, allocations: 0 / 4.012 GB, free: 265.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001225/9.41, allocations: 41.28 kB / 4.012 GB, free: 265.8 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004903/9.415, allocations: 1.486 MB / 4.013 GB, free: 265.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/9.415, allocations: 9.031 kB / 4.013 GB, free: 265.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/9.418, allocations: 0.5327 MB / 4.014 GB, free: 265.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02839/9.446, allocations: 13.12 MB / 4.027 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001201/9.447, allocations: 298.4 kB / 4.027 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/9.448, allocations: 43.97 kB / 4.027 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001345/9.449, allocations: 0.7243 MB / 4.028 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/9.451, allocations: 0.8866 MB / 4.029 GB, free: 264.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/9.451, allocations: 3.844 kB / 4.029 GB, free: 264.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/9.451, allocations: 3.938 kB / 4.029 GB, free: 264.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/9.451, allocations: 31.84 kB / 4.029 GB, free: 264.4 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.005851/9.457, allocations: 3.112 MB / 4.032 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/9.457, allocations: 0.5591 MB / 4.032 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004124/9.458, allocations: 348.7 kB / 4.033 GB, free: 263.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008048/9.459, allocations: 1.032 MB / 4.034 GB, free: 262.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005895/9.459, allocations: 466.6 kB / 4.034 GB, free: 262.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.126e-06/9.459, allocations: 3.812 kB / 4.034 GB, free: 262.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001845/9.461, allocations: 0.7885 MB / 4.035 GB, free: 262.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/9.461, allocations: 136.7 kB / 4.035 GB, free: 262.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/9.462, allocations: 0.6495 MB / 4.036 GB, free: 262 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/9.462, allocations: 32.83 kB / 4.036 GB, free: 261.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/9.463, allocations: 459.8 kB / 4.036 GB, free: 261.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/9.463, allocations: 182.4 kB / 4.036 GB, free: 261.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/9.463, allocations: 0 / 4.036 GB, free: 261.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/9.463, allocations: 327.4 kB / 4.036 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/9.463, allocations: 304.6 kB / 4.037 GB, free: 261.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/9.464, allocations: 0.4962 MB / 4.037 GB, free: 261.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/9.465, allocations: 396.5 kB / 4.038 GB, free: 261.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/9.465, allocations: 4.703 kB / 4.038 GB, free: 261.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001559/9.466, allocations: 0.923 MB / 4.039 GB, free: 261.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/9.466, allocations: 35.41 kB / 4.039 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/9.466, allocations: 3.625 kB / 4.039 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/9.466, allocations: 10.72 kB / 4.039 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/9.467, allocations: 219.3 kB / 4.039 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/9.467, allocations: 6.719 kB / 4.039 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/9.469, allocations: 262.3 kB / 4.039 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/9.469, allocations: 45.31 kB / 4.039 GB, free: 261 MB / 1.151 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 () * 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.0002244/9.469, allocations: 163.8 kB / 4.039 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001314/9.47, allocations: 0.7605 MB / 4.04 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/9.471, allocations: 88.72 kB / 4.04 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/9.472, allocations: 0.8531 MB / 4.041 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/9.472, allocations: 10.62 kB / 4.041 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/9.472, allocations: 0 / 4.041 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/9.472, allocations: 3.797 kB / 4.041 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/9.477, allocations: 2.952 MB / 4.044 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/9.477, allocations: 10.94 kB / 4.044 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/9.477, allocations: 123.7 kB / 4.044 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/9.477, allocations: 13.62 kB / 4.044 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/9.478, allocations: 22.39 kB / 4.044 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-05/9.478, allocations: 22.11 kB / 4.044 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/9.478, allocations: 9.312 kB / 4.044 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/9.48, allocations: 1.548 MB / 4.045 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/9.48, allocations: 308.7 kB / 4.046 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/9.48, allocations: 16.97 kB / 4.046 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/9.481, allocations: 123.4 kB / 4.046 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/9.481, allocations: 56.91 kB / 4.046 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.723e-05/9.481, allocations: 45.31 kB / 4.046 GB, free: 258.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006761/9.482, allocations: 0.5013 MB / 4.047 GB, free: 258.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/9.482, allocations: 3.828 kB / 4.047 GB, free: 258.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001844/9.484, allocations: 410.8 kB / 4.047 GB, free: 258.7 MB / 1.151 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) * 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.004589/9.489, allocations: 5.86 MB / 4.053 GB, free: 254.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001241/9.49, allocations: 0.7926 MB / 4.053 GB, free: 254.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/9.49, allocations: 3.656 kB / 4.053 GB, free: 254.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/9.49, allocations: 463.4 kB / 4.054 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/9.492, allocations: 354.4 kB / 4.054 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/9.496, allocations: 1.717 MB / 4.056 GB, free: 254 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/9.496, allocations: 1.09 MB / 4.057 GB, free: 253.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009659/9.497, allocations: 248.5 kB / 4.057 GB, free: 253.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/9.497, allocations: 347.6 kB / 4.057 GB, free: 253.3 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/9.497, allocations: 3.25 kB / 4.057 GB, free: 253.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/9.56, allocations: 33.81 MB / 4.091 GB, free: 252.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/9.561, allocations: 192.4 kB / 4.091 GB, free: 252 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.091/12.65, allocations: 0 / 4.091 GB, free: 252 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat does not exist to compare? outputFormat=mat