Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Examples.Performance.Example2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example2",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.0007879/0.0007876, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008025/0.0008024, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005324, allocations: 12.47 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2244, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02554/0.25, allocations: 27.27 MB / 0.814 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.2668, allocations: 11.73 MB / 0.8255 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.2683, allocations: 35.75 kB / 0.8255 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.2699, allocations: 473.2 kB / 0.826 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.273, allocations: 1.185 MB / 0.8271 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.2759, allocations: 1.046 MB / 0.8282 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004844/0.2808, allocations: 4.261 MB / 0.8323 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.2824, allocations: 0.996 MB / 0.8333 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.2846, allocations: 1.21 MB / 0.8345 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.2858, allocations: 0.9917 MB / 0.8354 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.286, allocations: 56 kB / 0.8355 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.2878, allocations: 0.8542 MB / 0.8363 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.2882, allocations: 326.7 kB / 0.8366 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.2885, allocations: 309 kB / 0.8369 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.2903, allocations: 1.804 MB / 0.8387 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2903, allocations: 0 / 0.8387 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2903, allocations: 0 / 0.8387 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.2903, allocations: 0 / 0.8387 GB, free: 7.16 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002642/0.293, allocations: 1.705 MB / 0.8404 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.293, allocations: 15.95 kB / 0.8404 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.2932, allocations: 126.6 kB / 0.8405 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000902/0.2941, allocations: 257.8 kB / 0.8407 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.2962, allocations: 1.265 MB / 0.842 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.2962, allocations: 62 kB / 0.842 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.2964, allocations: 84 kB / 0.8421 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.298, allocations: 1.029 MB / 0.8431 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.298, allocations: 0 / 0.8431 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.2981, allocations: 32 kB / 0.8431 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.2981, allocations: 24 kB / 0.8432 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.2996, allocations: 0.7845 MB / 0.8439 GB, free: 1.609 MB / 0.6544 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.005892/0.3055, allocations: 5.136 MB / 0.849 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.3069, allocations: 0.6594 MB / 0.8496 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/0.3076, allocations: 357.3 kB / 0.8499 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002295/0.3099, allocations: 1.678 MB / 0.8516 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007459/0.3107, allocations: 379 kB / 0.8519 GB, free: 8.895 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003519/0.3111, allocations: 99.47 kB / 0.852 GB, free: 8.797 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 4.338e-06/0.3111, allocations: 3.984 kB / 0.852 GB, free: 8.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.003528/0.3146, allocations: 1.376 MB / 0.8534 GB, free: 7.387 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3147, allocations: 55.41 kB / 0.8534 GB, free: 7.32 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.3162, allocations: 1.313 MB / 0.8547 GB, free: 5.992 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.3163, allocations: 37.7 kB / 0.8548 GB, free: 5.949 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.3168, allocations: 0.6411 MB / 0.8554 GB, free: 5.301 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.317, allocations: 149.8 kB / 0.8555 GB, free: 5.152 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.317, allocations: 16 kB / 0.8555 GB, free: 5.137 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3171, allocations: 337.9 kB / 0.8559 GB, free: 4.801 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.3177, allocations: 269.8 kB / 0.8561 GB, free: 4.535 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.3185, allocations: 0.6208 MB / 0.8567 GB, free: 3.754 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.3192, allocations: 382.2 kB / 0.8571 GB, free: 3.375 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3192, allocations: 3.938 kB / 0.8571 GB, free: 3.371 MB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002291/0.3215, allocations: 1.157 MB / 0.8582 GB, free: 2.199 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.3218, allocations: 347.1 kB / 0.8585 GB, free: 1.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3218, allocations: 8 kB / 0.8586 GB, free: 1.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000772/0.3226, allocations: 228.6 kB / 0.8588 GB, free: 1.512 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.3231, allocations: 147.8 kB / 0.8589 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009123/0.3241, allocations: 0.8721 MB / 0.8598 GB, free: 480 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009388/0.325, allocations: 88.48 kB / 0.8599 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.3251, allocations: 43.98 kB / 0.8599 GB, free: 348 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.3251, allocations: 4 kB / 0.8599 GB, free: 344 kB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001461/0.3266, allocations: 0.8755 MB / 0.8608 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3266, allocations: 8 kB / 0.8608 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/0.3269, allocations: 140.7 kB / 0.8609 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.3274, allocations: 136 kB / 0.861 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.3298, allocations: 2.335 MB / 0.8633 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/0.3305, allocations: 84.5 kB / 0.8634 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.3306, allocations: 35.98 kB / 0.8634 GB, free: 12.57 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.000676/0.3313, allocations: 484.8 kB / 0.8639 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3315, allocations: 126.5 kB / 0.864 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.3335, allocations: 0.9579 MB / 0.8649 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.3335, allocations: 7.938 kB / 0.8649 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3335, allocations: 3.984 kB / 0.8649 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/0.335, allocations: 0.9467 MB / 0.8659 GB, free: 9.961 MB / 0.6856 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 postOpt removeSimpleEquations (simulation): time 0.00335/0.3384, allocations: 1.978 MB / 0.8678 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3384, allocations: 4 kB / 0.8678 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.3388, allocations: 88.03 kB / 0.8679 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.3391, allocations: 148.7 kB / 0.868 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.3392, allocations: 19.94 kB / 0.8681 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006741/0.3399, allocations: 0.8214 MB / 0.8689 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3399, allocations: 0 / 0.8689 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.3422, allocations: 1.303 MB / 0.8701 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/0.3428, allocations: 287.3 kB / 0.8704 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.343, allocations: 12 kB / 0.8704 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.3437, allocations: 83.92 kB / 0.8705 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3439, allocations: 40.38 kB / 0.8705 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.3439, allocations: 19.98 kB / 0.8706 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00141/0.3453, allocations: 0.901 MB / 0.8714 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3453, allocations: 0 / 0.8714 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002167/0.3475, allocations: 0.6745 MB / 0.8721 GB, free: 3.43 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003311/0.3508, allocations: 2.05 MB / 0.8741 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002923/0.3538, allocations: 1.429 MB / 0.8755 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3538, allocations: 5.062 kB / 0.8755 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007759/0.3546, allocations: 354.4 kB / 0.8758 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.3573, allocations: 0.5822 MB / 0.8764 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.3728, allocations: 8.307 MB / 0.8845 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/0.3738, allocations: 1.271 MB / 0.8858 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001247/0.375, allocations: 306.5 kB / 0.886 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006781/0.3757, allocations: 0.4914 MB / 0.8865 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of SimCode: time 1.112e-06/0.3757, allocations: 0 / 0.8865 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5007/0.8764, allocations: 37.6 MB / 0.9232 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.8766, allocations: 247.2 kB / 0.9235 GB, free: 125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.609, allocations: 2 kB / 0.9235 GB, free: 125 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: