Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007483/0.007483, allocations: 99.19 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 198.6 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.472/2.472, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 71.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2462, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6326/0.8788, allocations: 194 MB / 1.41 GB, free: 13.18 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009023/0.8879, allocations: 6.932 MB / 1.416 GB, free: 7.527 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004886/0.8884, allocations: 45.81 kB / 1.416 GB, free: 7.508 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.8897, allocations: 0.6874 MB / 1.417 GB, free: 6.918 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.8936, allocations: 2.347 MB / 1.419 GB, free: 5.121 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.8962, allocations: 1.425 MB / 1.421 GB, free: 4.059 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002581/0.8988, allocations: 2.99 MB / 1.424 GB, free: 2.309 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009062/0.8997, allocations: 0.8956 MB / 1.425 GB, free: 1.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.9014, allocations: 1.135 MB / 1.426 GB, free: 1.078 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009691/0.9024, allocations: 0.8056 MB / 1.426 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.9025, allocations: 100.2 kB / 1.427 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.9052, allocations: 2.053 MB / 1.429 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.9055, allocations: 367.6 kB / 1.429 GB, free: 15.18 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.906, allocations: 0.5889 MB / 1.43 GB, free: 14.78 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.9085, allocations: 2.402 MB / 1.432 GB, free: 12.79 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.9085, allocations: 0 / 1.432 GB, free: 12.79 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9085, allocations: 0 / 1.432 GB, free: 12.79 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.9085, allocations: 0 / 1.432 GB, free: 12.79 MB / 1.123 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.00288/0.9114, allocations: 1.673 MB / 1.433 GB, free: 11.06 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.9114, allocations: 8.031 kB / 1.433 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.9116, allocations: 114.4 kB / 1.434 GB, free: 10.93 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.9141, allocations: 0.5416 MB / 1.434 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.9161, allocations: 1.05 MB / 1.435 GB, free: 9.289 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.9161, allocations: 53.31 kB / 1.435 GB, free: 9.238 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.9162, allocations: 64 kB / 1.435 GB, free: 9.176 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.9184, allocations: 1.112 MB / 1.436 GB, free: 8.035 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.9184, allocations: 7.938 kB / 1.436 GB, free: 8.027 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.9185, allocations: 28 kB / 1.436 GB, free: 8 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.9186, allocations: 33.3 kB / 1.436 GB, free: 7.969 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.9214, allocations: 1.164 MB / 1.438 GB, free: 6.805 MB / 1.123 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.004817/0.9262, allocations: 3.183 MB / 1.441 GB, free: 3.543 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.9278, allocations: 0.688 MB / 1.441 GB, free: 2.848 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/0.9285, allocations: 418.2 kB / 1.442 GB, free: 2.438 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008343/0.9294, allocations: 1.021 MB / 1.443 GB, free: 1.195 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009291/0.9303, allocations: 0.5143 MB / 1.443 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of pre-optimization done (n=57): time 1.744e-06/0.9303, allocations: 0 / 1.443 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of matching and sorting (n=57): time 0.002647/0.933, allocations: 1.225 MB / 1.444 GB, free: 15.41 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.9331, allocations: 144.8 kB / 1.445 GB, free: 15.24 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.9347, allocations: 1.176 MB / 1.446 GB, free: 14.05 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.9348, allocations: 41.7 kB / 1.446 GB, free: 14 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.9352, allocations: 441.8 kB / 1.446 GB, free: 13.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.9353, allocations: 198.2 kB / 1.446 GB, free: 13.38 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.9356, allocations: 146.1 kB / 1.447 GB, free: 13.23 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9357, allocations: 330 kB / 1.447 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.9369, allocations: 444.8 kB / 1.447 GB, free: 12.46 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.9382, allocations: 0.5976 MB / 1.448 GB, free: 11.81 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.9401, allocations: 0.9223 MB / 1.449 GB, free: 10.84 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9401, allocations: 4 kB / 1.449 GB, free: 10.83 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002748/0.9429, allocations: 1.194 MB / 1.45 GB, free: 9.621 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.9429, allocations: 41.97 kB / 1.45 GB, free: 9.574 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.9429, allocations: 8 kB / 1.45 GB, free: 9.566 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.9429, allocations: 8 kB / 1.45 GB, free: 9.559 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/0.9438, allocations: 187.7 kB / 1.45 GB, free: 9.375 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.9438, allocations: 15.88 kB / 1.45 GB, free: 9.359 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.945, allocations: 247.1 kB / 1.45 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.9451, allocations: 35.97 kB / 1.45 GB, free: 9.082 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003762/0.9455, allocations: 327.7 kB / 1.451 GB, free: 8.75 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.9456, allocations: 123.2 kB / 1.451 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.9476, allocations: 0.9944 MB / 1.452 GB, free: 7.629 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.9476, allocations: 8 kB / 1.452 GB, free: 7.621 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9477, allocations: 12.38 kB / 1.452 GB, free: 7.609 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.9477, allocations: 0 / 1.452 GB, free: 7.609 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/0.952, allocations: 3.161 MB / 1.455 GB, free: 4.293 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.952, allocations: 8.625 kB / 1.455 GB, free: 4.285 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.9525, allocations: 119.8 kB / 1.455 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.9526, allocations: 12 kB / 1.455 GB, free: 4.156 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.9526, allocations: 23.98 kB / 1.455 GB, free: 4.133 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.9526, allocations: 12 kB / 1.455 GB, free: 4.121 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.9526, allocations: 11.94 kB / 1.455 GB, free: 4.109 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.9546, allocations: 1.346 MB / 1.456 GB, free: 2.645 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.955, allocations: 340 kB / 1.457 GB, free: 2.293 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.9552, allocations: 23.98 kB / 1.457 GB, free: 2.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000961/0.9562, allocations: 103.9 kB / 1.457 GB, free: 2.168 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.9563, allocations: 63.7 kB / 1.457 GB, free: 2.105 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.9563, allocations: 35.97 kB / 1.457 GB, free: 2.07 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0013/0.9576, allocations: 0.8521 MB / 1.458 GB, free: 1.211 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9576, allocations: 0 / 1.458 GB, free: 1.211 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007983/0.9585, allocations: 299.6 kB / 1.458 GB, free: 0.918 MB / 1.139 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002748/0.9612, allocations: 2.138 MB / 1.46 GB, free: 14.67 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.9633, allocations: 1.013 MB / 1.461 GB, free: 13.65 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9634, allocations: 4 kB / 1.461 GB, free: 13.64 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008619/0.9642, allocations: 0.5149 MB / 1.462 GB, free: 13.12 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.9665, allocations: 0.5448 MB / 1.462 GB, free: 12.58 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.9808, allocations: 9.423 MB / 1.471 GB, free: 2.75 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.9814, allocations: 1.069 MB / 1.472 GB, free: 1.652 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007472/0.9822, allocations: 271.9 kB / 1.473 GB, free: 1.387 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.9827, allocations: 367.3 kB / 1.473 GB, free: 1.027 MB / 1.154 GB Notification: Performance of SimCode: time 2.2e-07/0.9827, allocations: 0 / 1.473 GB, free: 1.027 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.845/6.828, allocations: 31.78 MB / 1.504 GB, free: 1.645 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/20.91, allocations: 8 kB / 1.504 GB, free: 1.637 MB / 1.186 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)