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.702/1.702, allocations: 252 MB / 267.3 MB, free: 10.86 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.001014/0.001014, allocations: 181.9 kB / 327 MB, free: 2.109 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.702/1.702, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0008367/0.0008369, allocations: 93.95 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005034, allocations: 12.78 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02615/0.2472, allocations: 20.17 MB / 0.9206 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.2573, allocations: 5.335 MB / 0.9258 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.2584, allocations: 23.81 kB / 0.9258 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.2596, allocations: 274.5 kB / 0.9261 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.263, allocations: 0.8672 MB / 0.927 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.2665, allocations: 0.7979 MB / 0.9277 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003537/0.2701, allocations: 2.285 MB / 0.93 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.2712, allocations: 416.6 kB / 0.9304 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.2728, allocations: 0.5952 MB / 0.9309 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009162/0.2737, allocations: 497.8 kB / 0.9314 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2739, allocations: 28 kB / 0.9314 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.2767, allocations: 1.088 MB / 0.9325 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.2769, allocations: 123.4 kB / 0.9326 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.2774, allocations: 324 kB / 0.9329 GB, free: 30.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.2795, allocations: 1.173 MB / 0.9341 GB, free: 29.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2795, allocations: 0 / 0.9341 GB, free: 29.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2795, allocations: 0 / 0.9341 GB, free: 29.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2796, allocations: 0 / 0.9341 GB, free: 29.33 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.001869/0.2814, allocations: 0.9248 MB / 0.935 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.2815, allocations: 8.031 kB / 0.935 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.2816, allocations: 78.72 kB / 0.9351 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.283, allocations: 192 kB / 0.9352 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.2843, allocations: 0.5649 MB / 0.9358 GB, free: 27.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004911/0.2848, allocations: 92.94 kB / 0.9359 GB, free: 27.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.2849, allocations: 36 kB / 0.9359 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.2863, allocations: 0.4999 MB / 0.9364 GB, free: 26.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2863, allocations: 0 / 0.9364 GB, free: 26.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.2864, allocations: 16 kB / 0.9364 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.2865, allocations: 15.94 kB / 0.9364 GB, free: 26.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.288, allocations: 438.6 kB / 0.9369 GB, free: 26.35 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.003569/0.2916, allocations: 2.285 MB / 0.9391 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.2932, allocations: 402.9 kB / 0.9395 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007727/0.294, allocations: 233 kB / 0.9397 GB, free: 23.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.2943, allocations: 336.6 kB / 0.94 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008996/0.2952, allocations: 310.2 kB / 0.9403 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.847e-06/0.2952, allocations: 3.938 kB / 0.9403 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.003438/0.2987, allocations: 0.889 MB / 0.9412 GB, free: 21.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2987, allocations: 85.09 kB / 0.9413 GB, free: 21.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.2995, allocations: 491 kB / 0.9417 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.2996, allocations: 33.7 kB / 0.9418 GB, free: 20.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.2999, allocations: 280.4 kB / 0.942 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.3, allocations: 106.5 kB / 0.9421 GB, free: 20.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.3001, allocations: 8 kB / 0.9421 GB, free: 20.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.3002, allocations: 358.8 kB / 0.9425 GB, free: 20.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.3009, allocations: 187.9 kB / 0.9427 GB, free: 20.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007721/0.3017, allocations: 276.8 kB / 0.9429 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.3032, allocations: 493 kB / 0.9434 GB, free: 19.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3032, allocations: 0 / 0.9434 GB, free: 19.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002231/0.3055, allocations: 0.6278 MB / 0.944 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.3056, allocations: 176 kB / 0.9442 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3056, allocations: 0 / 0.9442 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004973/0.3061, allocations: 72.88 kB / 0.9442 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.3067, allocations: 87.88 kB / 0.9443 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004845/0.3072, allocations: 0.5952 MB / 0.9449 GB, free: 17.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009284/0.3082, allocations: 83.69 kB / 0.945 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.3083, allocations: 16 kB / 0.945 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.3083, allocations: 7.938 kB / 0.945 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001932/0.3102, allocations: 0.5604 MB / 0.9456 GB, free: 16.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3103, allocations: 3.938 kB / 0.9456 GB, free: 16.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.3105, allocations: 52.77 kB / 0.9456 GB, free: 16.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.3111, allocations: 84.03 kB / 0.9457 GB, free: 16.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.3128, allocations: 1.638 MB / 0.9473 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008861/0.3137, allocations: 71.77 kB / 0.9474 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.3137, allocations: 19.98 kB / 0.9474 GB, free: 14.87 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004158/0.3142, allocations: 306.6 kB / 0.9477 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3143, allocations: 55.34 kB / 0.9477 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.3165, allocations: 0.6648 MB / 0.9484 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3165, allocations: 4 kB / 0.9484 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3165, allocations: 0 / 0.9484 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00177/0.3183, allocations: 0.8248 MB / 0.9492 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.3207, allocations: 1.307 MB / 0.9505 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3208, allocations: 0 / 0.9505 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.3212, allocations: 71.88 kB / 0.9505 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.3214, allocations: 52.91 kB / 0.9506 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.3214, allocations: 15.98 kB / 0.9506 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002752/0.3217, allocations: 0.5757 MB / 0.9512 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3217, allocations: 0 / 0.9512 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.3237, allocations: 0.9955 MB / 0.9521 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.324, allocations: 188.3 kB / 0.9523 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.3241, allocations: 8 kB / 0.9523 GB, free: 9.535 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.3248, allocations: 71.78 kB / 0.9524 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.3249, allocations: 23.91 kB / 0.9524 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.3249, allocations: 19.98 kB / 0.9524 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003598/0.3253, allocations: 342.8 kB / 0.9528 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3253, allocations: 4 kB / 0.9528 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001135/0.3264, allocations: 339.5 kB / 0.9531 GB, free: 8.754 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0026/0.329, allocations: 1.717 MB / 0.9548 GB, free: 7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.3312, allocations: 1.007 MB / 0.9557 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3312, allocations: 0 / 0.9557 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006525/0.3319, allocations: 341.4 kB / 0.9561 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.3335, allocations: 246.2 kB / 0.9563 GB, free: 5.379 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006821/0.3404, allocations: 5.217 MB / 0.9614 GB, free: 8 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.3408, allocations: 0.8745 MB / 0.9623 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005628/0.3414, allocations: 136.3 kB / 0.9624 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.3417, allocations: 195.4 kB / 0.9626 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.3417, allocations: 0 / 0.9626 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.3733, allocations: 15.86 MB / 0.9781 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.3736, allocations: 312.3 kB / 0.9784 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/2.968, allocations: 0 / 0.9784 GB, free: 14.79 MB / 0.6355 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)