Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008927/0.000893, allocations: 180.7 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.4 MB / 0.5777 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000812/0.0008118, allocations: 86.17 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8.906 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1736, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01271/0.1864, allocations: 19.13 MB / 0.919 GB, free: 45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005061/0.1915, allocations: 4.979 MB / 0.9238 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.192, allocations: 19.81 kB / 0.9239 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.1926, allocations: 258.4 kB / 0.9241 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.1939, allocations: 0.758 MB / 0.9248 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.1955, allocations: 0.7431 MB / 0.9256 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.1968, allocations: 1.93 MB / 0.9275 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.1972, allocations: 389.1 kB / 0.9278 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.1978, allocations: 0.5796 MB / 0.9284 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.1982, allocations: 470 kB / 0.9288 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.1983, allocations: 23.98 kB / 0.9289 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1994, allocations: 0.9551 MB / 0.9298 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.1995, allocations: 115.5 kB / 0.9299 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.1996, allocations: 145.3 kB / 0.9301 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.2003, allocations: 0.8188 MB / 0.9308 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2003, allocations: 0 / 0.9308 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2003, allocations: 0 / 0.9308 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2003, allocations: 0 / 0.9308 GB, free: 32.8 MB / 0.6042 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.001099/0.2015, allocations: 0.9222 MB / 0.9318 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2015, allocations: 12.03 kB / 0.9318 GB, free: 31.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.2016, allocations: 78.53 kB / 0.9318 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008011/0.2024, allocations: 199 kB / 0.932 GB, free: 31.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007966/0.2032, allocations: 0.5415 MB / 0.9326 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.2035, allocations: 100.9 kB / 0.9327 GB, free: 30.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.2036, allocations: 36 kB / 0.9327 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.2044, allocations: 0.496 MB / 0.9332 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2044, allocations: 0 / 0.9332 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.2044, allocations: 16 kB / 0.9332 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.2045, allocations: 8 kB / 0.9332 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.2053, allocations: 430.6 kB / 0.9336 GB, free: 29.85 MB / 0.6042 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.002156/0.2075, allocations: 2.297 MB / 0.9358 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.2084, allocations: 398.9 kB / 0.9362 GB, free: 26.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.2089, allocations: 244.9 kB / 0.9365 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.2091, allocations: 332.7 kB / 0.9368 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005346/0.2097, allocations: 310.2 kB / 0.9371 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.2097, allocations: 0 / 0.9371 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001936/0.2116, allocations: 0.8773 MB / 0.9379 GB, free: 25.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.2117, allocations: 85.11 kB / 0.938 GB, free: 24.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.2121, allocations: 494.9 kB / 0.9385 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.2121, allocations: 29.7 kB / 0.9385 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2123, allocations: 280.4 kB / 0.9388 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.2123, allocations: 102.5 kB / 0.9389 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.2123, allocations: 8 kB / 0.9389 GB, free: 24.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.2124, allocations: 362.8 kB / 0.9392 GB, free: 23.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.2128, allocations: 179.9 kB / 0.9394 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.2133, allocations: 273 kB / 0.9397 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.2137, allocations: 225.5 kB / 0.9399 GB, free: 22.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2137, allocations: 0 / 0.9399 GB, free: 22.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001197/0.2149, allocations: 0.6395 MB / 0.9405 GB, free: 22.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.215, allocations: 164 kB / 0.9407 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.215, allocations: 0 / 0.9407 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.2153, allocations: 72.75 kB / 0.9407 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.2157, allocations: 87.88 kB / 0.9408 GB, free: 21.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/0.216, allocations: 0.5952 MB / 0.9414 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.2165, allocations: 87.69 kB / 0.9415 GB, free: 21.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.2166, allocations: 12 kB / 0.9415 GB, free: 21.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.2166, allocations: 4 kB / 0.9415 GB, free: 21.26 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/0.2176, allocations: 0.5527 MB / 0.942 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.2177, allocations: 3.953 kB / 0.942 GB, free: 20.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.2178, allocations: 52.83 kB / 0.9421 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.2181, allocations: 84.03 kB / 0.9422 GB, free: 20.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.2191, allocations: 1.627 MB / 0.9438 GB, free: 18.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.2196, allocations: 75.8 kB / 0.9438 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.2196, allocations: 15.98 kB / 0.9438 GB, free: 18.69 MB / 0.6042 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.0002403/0.2199, allocations: 310.6 kB / 0.9441 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.22, allocations: 55.34 kB / 0.9442 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.2212, allocations: 0.6571 MB / 0.9448 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2212, allocations: 8 kB / 0.9448 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2212, allocations: 3.984 kB / 0.9448 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.2223, allocations: 0.8249 MB / 0.9456 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.224, allocations: 1.315 MB / 0.9469 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.224, allocations: 3.984 kB / 0.9469 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.2244, allocations: 67.88 kB / 0.947 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.2245, allocations: 44.94 kB / 0.947 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2245, allocations: 11.98 kB / 0.9471 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002172/0.2247, allocations: 0.5759 MB / 0.9476 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2248, allocations: 0 / 0.9476 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.2263, allocations: 0.9991 MB / 0.9486 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.2265, allocations: 188.4 kB / 0.9488 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.2266, allocations: 11.95 kB / 0.9488 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.2271, allocations: 67.78 kB / 0.9489 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.2272, allocations: 23.97 kB / 0.9489 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.2272, allocations: 15.98 kB / 0.9489 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000279/0.2275, allocations: 342.8 kB / 0.9492 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2275, allocations: 4 kB / 0.9492 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009018/0.2284, allocations: 335.5 kB / 0.9495 GB, free: 12.59 MB / 0.6042 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.002095/0.2305, allocations: 1.713 MB / 0.9512 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.2323, allocations: 0.9997 MB / 0.9522 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2323, allocations: 4 kB / 0.9522 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.2328, allocations: 329.5 kB / 0.9525 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.2341, allocations: 241.4 kB / 0.9527 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.2389, allocations: 3.479 MB / 0.9561 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2391, allocations: 0.8745 MB / 0.957 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000498/0.2396, allocations: 128.3 kB / 0.9571 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.2398, allocations: 195.4 kB / 0.9573 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2398, allocations: 4 kB / 0.9573 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.2694, allocations: 15.93 MB / 0.9729 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.2696, allocations: 278 kB / 0.9731 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/2.707, allocations: 0 / 0.9731 GB, free: 4.426 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)