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.001048/0.001048, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001156/0.001156, allocations: 177.3 kB / 15.95 MB, free: 216 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.287/1.287, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7661, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01808/0.7842, allocations: 17.49 MB / 0.9979 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007998/0.7923, allocations: 4.659 MB / 1.002 GB, free: 88 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000891/0.7932, allocations: 15.88 kB / 1.003 GB, free: 72 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.7943, allocations: 306.5 kB / 1.003 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.7969, allocations: 0.8102 MB / 1.004 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.7997, allocations: 0.9073 MB / 1.004 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.8017, allocations: 1.046 MB / 1.005 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.8024, allocations: 409.4 kB / 1.006 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009915/0.8034, allocations: 0.5373 MB / 1.006 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.8039, allocations: 334.6 kB / 1.007 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.804, allocations: 24 kB / 1.007 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.8059, allocations: 0.8268 MB / 1.008 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.806, allocations: 115.5 kB / 1.008 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.8062, allocations: 141.4 kB / 1.008 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.8073, allocations: 0.7873 MB / 1.009 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.8073, allocations: 0 / 1.009 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8073, allocations: 0 / 1.009 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.8073, allocations: 0 / 1.009 GB, free: 9.832 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.001617/0.809, allocations: 0.913 MB / 1.009 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.809, allocations: 12.03 kB / 1.009 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.8092, allocations: 74.53 kB / 1.01 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008572/0.81, allocations: 199 kB / 1.01 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008725/0.8109, allocations: 0.5025 MB / 1.01 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.8112, allocations: 96.94 kB / 1.01 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.8113, allocations: 40 kB / 1.01 GB, free: 7.898 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/0.8123, allocations: 0.4999 MB / 1.011 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.8123, allocations: 0 / 1.011 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.8123, allocations: 12 kB / 1.011 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.8124, allocations: 15.95 kB / 1.011 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.8134, allocations: 430.6 kB / 1.011 GB, free: 6.93 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.003057/0.8164, allocations: 2.305 MB / 1.014 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.8176, allocations: 402.9 kB / 1.014 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.8179, allocations: 344.6 kB / 1.014 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006202/0.8185, allocations: 306.6 kB / 1.015 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=33): time 2.454e-06/0.8185, allocations: 0 / 1.015 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33): time 0.002304/0.8208, allocations: 0.9612 MB / 1.015 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.8209, allocations: 81.11 kB / 1.016 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.8215, allocations: 0.4951 MB / 1.016 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.8215, allocations: 33.7 kB / 1.016 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.8218, allocations: 284.4 kB / 1.016 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.8219, allocations: 106.4 kB / 1.016 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.8219, allocations: 15.94 kB / 1.016 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.822, allocations: 358.8 kB / 1.017 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.8225, allocations: 175.9 kB / 1.017 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.823, allocations: 273.2 kB / 1.017 GB, free: 400 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.8235, allocations: 221.6 kB / 1.017 GB, free: 172 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.8235, allocations: 3.953 kB / 1.017 GB, free: 168 kB / 0.7637 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001377/0.8249, allocations: 0.6284 MB / 1.018 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.8252, allocations: 0.6455 MB / 1.019 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8252, allocations: 4 kB / 1.019 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.8256, allocations: 76.72 kB / 1.019 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.8259, allocations: 75.89 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004917/0.8264, allocations: 0.5992 MB / 1.019 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.827, allocations: 75.77 kB / 1.019 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.8271, allocations: 23.98 kB / 1.02 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.8271, allocations: 4.938 kB / 1.02 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001223/0.8283, allocations: 0.5643 MB / 1.02 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8283, allocations: 4 kB / 1.02 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.8285, allocations: 44.83 kB / 1.02 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.8289, allocations: 83.98 kB / 1.02 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.8305, allocations: 1.642 MB / 1.022 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.8311, allocations: 83.73 kB / 1.022 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.8311, allocations: 15.98 kB / 1.022 GB, free: 11.35 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.0003838/0.8315, allocations: 294.7 kB / 1.022 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.8316, allocations: 55.34 kB / 1.022 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.833, allocations: 0.6727 MB / 1.023 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.833, allocations: 4 kB / 1.023 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.833, allocations: 0 / 1.023 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.8343, allocations: 0.8209 MB / 1.024 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.8366, allocations: 1.326 MB / 1.025 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.8366, allocations: 7.984 kB / 1.025 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.837, allocations: 64.05 kB / 1.025 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001567/0.8371, allocations: 41.03 kB / 1.025 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.8372, allocations: 11.98 kB / 1.025 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003763/0.8376, allocations: 0.5835 MB / 1.026 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8376, allocations: 4.062 kB / 1.026 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.8394, allocations: 1.031 MB / 1.027 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.8397, allocations: 188.2 kB / 1.027 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.8398, allocations: 19.94 kB / 1.027 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/0.8403, allocations: 63.95 kB / 1.027 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.8404, allocations: 19.97 kB / 1.027 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.8405, allocations: 31.91 kB / 1.027 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004148/0.8409, allocations: 350.8 kB / 1.027 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8409, allocations: 0 / 1.027 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001199/0.8421, allocations: 347.5 kB / 1.028 GB, free: 5.152 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.002805/0.8449, allocations: 1.947 MB / 1.03 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002139/0.8471, allocations: 0.9952 MB / 1.031 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8471, allocations: 0 / 1.031 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.8477, allocations: 335.4 kB / 1.031 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.849, allocations: 224 kB / 1.031 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/0.8554, allocations: 4.417 MB / 1.035 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.8559, allocations: 0.8901 MB / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005831/0.8565, allocations: 128.4 kB / 1.036 GB, free: 12.02 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.8568, allocations: 203.3 kB / 1.037 GB, free: 11.82 MB / 0.795 GB Notification: Performance of SimCode: time 1.142e-06/0.8568, allocations: 4 kB / 1.037 GB, free: 11.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07501/0.9318, allocations: 16.28 MB / 1.052 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/0.9322, allocations: 268.4 kB / 1.053 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.991, allocations: 0 / 1.053 GB, free: 11.5 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: