Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.528/1.528, allocations: 287.4 MB / 302.6 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001324, allocations: 184.7 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007736/0.0007736, allocations: 108.5 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 16.47 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.0165/0.2238, allocations: 19.12 MB / 0.9974 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005591/0.2295, allocations: 5.004 MB / 1.002 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.2302, allocations: 23.81 kB / 1.002 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.2309, allocations: 254.4 kB / 1.003 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.2326, allocations: 0.7481 MB / 1.003 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.2347, allocations: 0.7576 MB / 1.004 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.2365, allocations: 1.942 MB / 1.006 GB, free: 184 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006328/0.2372, allocations: 420.5 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009969/0.2382, allocations: 0.5913 MB / 1.007 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.2388, allocations: 454 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.557e-05/0.2388, allocations: 24 kB / 1.007 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.2405, allocations: 0.959 MB / 1.008 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.2407, allocations: 123.5 kB / 1.008 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2408, allocations: 141.3 kB / 1.009 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009644/0.2418, allocations: 0.8224 MB / 1.009 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2418, allocations: 0 / 1.009 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2418, allocations: 0 / 1.009 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2418, allocations: 0 / 1.009 GB, free: 12.64 MB / 0.6355 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.001399/0.2432, allocations: 0.9209 MB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2433, allocations: 8.031 kB / 1.01 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.202e-05/0.2434, allocations: 82.66 kB / 1.01 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/0.2442, allocations: 188 kB / 1.011 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.2453, allocations: 0.5609 MB / 1.011 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.2456, allocations: 104.9 kB / 1.011 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.2457, allocations: 36 kB / 1.011 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/0.2467, allocations: 0.5038 MB / 1.012 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2467, allocations: 0 / 1.012 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.2467, allocations: 12 kB / 1.012 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.2468, allocations: 16 kB / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009997/0.2478, allocations: 430.6 kB / 1.012 GB, free: 9.668 MB / 0.6355 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.002845/0.2506, allocations: 2.293 MB / 1.014 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2516, allocations: 398.9 kB / 1.015 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.2522, allocations: 240.9 kB / 1.015 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.2525, allocations: 336.6 kB / 1.015 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.2531, allocations: 310.1 kB / 1.016 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.2531, allocations: 4 kB / 1.016 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.002227/0.2554, allocations: 0.8881 MB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.2554, allocations: 85.05 kB / 1.017 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.256, allocations: 491 kB / 1.017 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.256, allocations: 29.7 kB / 1.017 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.2562, allocations: 280.4 kB / 1.017 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.325e-05/0.2563, allocations: 114.4 kB / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.2564, allocations: 4 kB / 1.017 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2565, allocations: 358.8 kB / 1.018 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.257, allocations: 187.9 kB / 1.018 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.2575, allocations: 261.3 kB / 1.018 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/0.2584, allocations: 496.8 kB / 1.019 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2585, allocations: 4 kB / 1.019 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0014/0.2599, allocations: 0.624 MB / 1.019 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.26, allocations: 171.9 kB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/0.26, allocations: 0 / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/0.2604, allocations: 68.81 kB / 1.02 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.2608, allocations: 87.88 kB / 1.02 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/0.2613, allocations: 0.5913 MB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/0.2619, allocations: 75.69 kB / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.2619, allocations: 20 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.262, allocations: 7.938 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/0.2632, allocations: 0.5527 MB / 1.021 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2632, allocations: 160 / 1.021 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.2634, allocations: 52.83 kB / 1.021 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.2637, allocations: 87.88 kB / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.2654, allocations: 1.635 MB / 1.023 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.2659, allocations: 75.7 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.266, allocations: 23.92 kB / 1.023 GB, free: 14.2 MB / 0.6511 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.0003544/0.2663, allocations: 300 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/0.2664, allocations: 59.25 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.2679, allocations: 0.661 MB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.2679, allocations: 4 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2679, allocations: 7.938 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001291/0.2692, allocations: 0.8093 MB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.2715, allocations: 1.327 MB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2715, allocations: 0 / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.2719, allocations: 71.98 kB / 1.026 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/0.2721, allocations: 44.81 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.2721, allocations: 12 kB / 1.026 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003908/0.2725, allocations: 0.5835 MB / 1.026 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2726, allocations: 0 / 1.026 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.2745, allocations: 1.003 MB / 1.027 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.2748, allocations: 184.3 kB / 1.028 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.2749, allocations: 8 kB / 1.028 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.2755, allocations: 64 kB / 1.028 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.2756, allocations: 23.97 kB / 1.028 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.2756, allocations: 15.98 kB / 1.028 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004514/0.2761, allocations: 342.8 kB / 1.028 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2761, allocations: 0 / 1.028 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00121/0.2773, allocations: 347.4 kB / 1.028 GB, free: 8.094 MB / 0.6511 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.0027/0.28, allocations: 1.707 MB / 1.03 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.2822, allocations: 0.995 MB / 1.031 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2822, allocations: 0 / 1.031 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.2828, allocations: 339.4 kB / 1.031 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.2843, allocations: 238.1 kB / 1.032 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.2907, allocations: 3.495 MB / 1.035 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.2911, allocations: 0.8783 MB / 1.036 GB, free: 272 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005734/0.2917, allocations: 128.3 kB / 1.036 GB, free: 140 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.2921, allocations: 195.4 kB / 1.036 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of SimCode: time 6.62e-07/0.2921, allocations: 4 kB / 1.036 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03631/0.3284, allocations: 15.99 MB / 1.052 GB, free: 224 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.3286, allocations: 259.6 kB / 1.052 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/3.066, allocations: 3.875 kB / 1.052 GB, free: 15.88 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)