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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001404/0.001405, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.561/2.561, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7474, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02025/0.7678, allocations: 19.11 MB / 0.9998 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00766/0.7755, allocations: 5.034 MB / 1.005 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009491/0.7765, allocations: 23.81 kB / 1.005 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0009223/0.7774, allocations: 254.4 kB / 1.005 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.7798, allocations: 0.7502 MB / 1.006 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.7822, allocations: 0.7583 MB / 1.006 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.7847, allocations: 1.964 MB / 1.008 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006622/0.7854, allocations: 405.3 kB / 1.009 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.7864, allocations: 0.5874 MB / 1.009 GB, free: 9.266 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.787, allocations: 466 kB / 1.01 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.7871, allocations: 24 kB / 1.01 GB, free: 8.785 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.789, allocations: 0.959 MB / 1.011 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.7891, allocations: 119.4 kB / 1.011 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.7893, allocations: 137.4 kB / 1.011 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.7904, allocations: 0.8224 MB / 1.012 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7904, allocations: 0 / 1.012 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7904, allocations: 0 / 1.012 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.7904, allocations: 0 / 1.012 GB, free: 6.742 MB / 0.7637 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.001539/0.792, allocations: 0.9325 MB / 1.013 GB, free: 5.754 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.792, allocations: 12.03 kB / 1.013 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.531e-05/0.7921, allocations: 74.53 kB / 1.013 GB, free: 5.66 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/0.793, allocations: 203 kB / 1.013 GB, free: 5.461 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009935/0.794, allocations: 0.5416 MB / 1.014 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.7942, allocations: 92.94 kB / 1.014 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.7943, allocations: 40 kB / 1.014 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/0.7953, allocations: 0.4999 MB / 1.014 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.7953, allocations: 0 / 1.014 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.7953, allocations: 12 kB / 1.014 GB, free: 4.215 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.7954, allocations: 15.95 kB / 1.014 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009275/0.7963, allocations: 426.6 kB / 1.015 GB, free: 3.785 MB / 0.7637 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.002789/0.7991, allocations: 2.301 MB / 1.017 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009394/0.8001, allocations: 391 kB / 1.017 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.8005, allocations: 237 kB / 1.017 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.8009, allocations: 340.7 kB / 1.018 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000599/0.8015, allocations: 314.2 kB / 1.018 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.8015, allocations: 0 / 1.018 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.00212/0.8036, allocations: 0.8781 MB / 1.019 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.8037, allocations: 85.09 kB / 1.019 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.8042, allocations: 494.8 kB / 1.019 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.8043, allocations: 33.7 kB / 1.019 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.8045, allocations: 284.4 kB / 1.02 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.8046, allocations: 102.4 kB / 1.02 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.8046, allocations: 8 kB / 1.02 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8048, allocations: 362.8 kB / 1.02 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.8052, allocations: 179.9 kB / 1.02 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.8057, allocations: 273.2 kB / 1.021 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.8062, allocations: 221.6 kB / 1.021 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8062, allocations: 0 / 1.021 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001287/0.8075, allocations: 0.6246 MB / 1.021 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.8076, allocations: 171.9 kB / 1.022 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8076, allocations: 7.938 kB / 1.022 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.8079, allocations: 72.8 kB / 1.022 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.8083, allocations: 87.83 kB / 1.022 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000468/0.8088, allocations: 0.5952 MB / 1.022 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.8093, allocations: 75.73 kB / 1.022 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.8094, allocations: 19.98 kB / 1.022 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.8094, allocations: 4 kB / 1.022 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/0.8107, allocations: 0.5604 MB / 1.023 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8107, allocations: 4 kB / 1.023 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.8109, allocations: 52.92 kB / 1.023 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.8113, allocations: 75.95 kB / 1.023 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.8129, allocations: 1.642 MB / 1.025 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.8135, allocations: 83.69 kB / 1.025 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.8135, allocations: 19.98 kB / 1.025 GB, free: 8.598 MB / 0.7794 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.0003938/0.8139, allocations: 293.1 kB / 1.025 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.814, allocations: 55.34 kB / 1.025 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.8154, allocations: 0.6726 MB / 1.026 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8154, allocations: 4 kB / 1.026 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.8154, allocations: 0 / 1.026 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.8167, allocations: 0.8248 MB / 1.027 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.8188, allocations: 1.319 MB / 1.028 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8189, allocations: 3.938 kB / 1.028 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.8192, allocations: 64.05 kB / 1.028 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.8193, allocations: 44.83 kB / 1.028 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.8194, allocations: 8 kB / 1.028 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004259/0.8198, allocations: 0.5912 MB / 1.029 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8198, allocations: 0 / 1.029 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.8217, allocations: 0.995 MB / 1.03 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.822, allocations: 188.2 kB / 1.03 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.822, allocations: 12 kB / 1.03 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.8225, allocations: 64 kB / 1.03 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.8226, allocations: 19.97 kB / 1.03 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.8227, allocations: 23.98 kB / 1.03 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004229/0.8231, allocations: 342.8 kB / 1.03 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8231, allocations: 0 / 1.03 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001116/0.8242, allocations: 339.5 kB / 1.031 GB, free: 2.496 MB / 0.7794 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.002628/0.8269, allocations: 1.715 MB / 1.032 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.829, allocations: 0.9985 MB / 1.033 GB, free: 15.71 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.829, allocations: 4 kB / 1.033 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.8296, allocations: 323.4 kB / 1.033 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.8309, allocations: 241 kB / 1.034 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.8372, allocations: 3.485 MB / 1.037 GB, free: 11.58 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.8378, allocations: 0.8823 MB / 1.038 GB, free: 10.67 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005936/0.8384, allocations: 124.4 kB / 1.038 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.8387, allocations: 199.3 kB / 1.038 GB, free: 10.35 MB / 0.795 GB Notification: Performance of SimCode: time 1.182e-06/0.8387, allocations: 4 kB / 1.038 GB, free: 10.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.8756, allocations: 16.01 MB / 1.054 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.8759, allocations: 267 kB / 1.054 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.109, allocations: 4 kB / 1.054 GB, free: 10.3 MB / 0.8106 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) Environment - environmentSimulation: