Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.Example3.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002451/0.00245, allocations: 356.5 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.403/1.403, allocations: 165.8 MB / 182.5 MB, free: 5.453 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.654/3.654, allocations: 410.8 MB / 0.5995 GB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001753/0.001753, allocations: 188.2 kB / 0.6662 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004552, allocations: 12 kB / 0.7423 GB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3247, allocations: 67.45 MB / 0.8082 GB, free: 28.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.0296/0.3543, allocations: 30.1 MB / 0.8375 GB, free: 14.64 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02283/0.3772, allocations: 12.13 MB / 0.8494 GB, free: 2.492 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.3787, allocations: 35.75 kB / 0.8494 GB, free: 2.457 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.3807, allocations: 0.5513 MB / 0.85 GB, free: 1.902 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.386, allocations: 1.55 MB / 0.8515 GB, free: 352 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008425/0.3944, allocations: 2.348 MB / 0.8538 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008009/0.4024, allocations: 5.476 MB / 0.8591 GB, free: 8.523 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.4053, allocations: 1.584 MB / 0.8607 GB, free: 6.918 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.4085, allocations: 1.493 MB / 0.8621 GB, free: 5.418 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.4108, allocations: 1.295 MB / 0.8634 GB, free: 4.117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.4111, allocations: 72 kB / 0.8635 GB, free: 4.047 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.4133, allocations: 0.7137 MB / 0.8642 GB, free: 3.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000575/0.4139, allocations: 382.3 kB / 0.8645 GB, free: 2.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006824/0.4146, allocations: 404.7 kB / 0.8649 GB, free: 2.555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003761/0.4184, allocations: 2.12 MB / 0.867 GB, free: 440 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.978e-06/0.4184, allocations: 0 / 0.867 GB, free: 440 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4184, allocations: 0 / 0.867 GB, free: 440 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.4185, allocations: 0 / 0.867 GB, free: 440 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004594/0.4231, allocations: 2.086 MB / 0.869 GB, free: 14.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4231, allocations: 8.031 kB / 0.869 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.4246, allocations: 309.3 kB / 0.8693 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/0.4287, allocations: 1.579 MB / 0.8709 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.4289, allocations: 85.95 kB / 0.8709 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.4291, allocations: 104 kB / 0.871 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.4322, allocations: 1.331 MB / 0.8723 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.4323, allocations: 3.938 kB / 0.8723 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.4324, allocations: 40 kB / 0.8724 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.4325, allocations: 24 kB / 0.8724 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.4354, allocations: 1.058 MB / 0.8734 GB, free: 9.625 MB / 426.7 MB 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.0115/0.447, allocations: 6.992 MB / 0.8803 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.449, allocations: 0.676 MB / 0.8809 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4501, allocations: 428.3 kB / 0.8813 GB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004013/0.4542, allocations: 1.827 MB / 0.8831 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.4553, allocations: 416.7 kB / 0.8835 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006716/0.456, allocations: 107.3 kB / 0.8836 GB, free: 14.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 4.071e-06/0.456, allocations: 0 / 0.8836 GB, free: 14.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.005655/0.4617, allocations: 1.524 MB / 0.8851 GB, free: 12.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.4618, allocations: 67.34 kB / 0.8852 GB, free: 12.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/0.4652, allocations: 1.835 MB / 0.887 GB, free: 11.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.4654, allocations: 41.7 kB / 0.887 GB, free: 10.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.4665, allocations: 0.8503 MB / 0.8878 GB, free: 10.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.4667, allocations: 165.7 kB / 0.888 GB, free: 9.965 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.4668, allocations: 16 kB / 0.888 GB, free: 9.949 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.467, allocations: 341.9 kB / 0.8883 GB, free: 9.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009923/0.468, allocations: 317.8 kB / 0.8886 GB, free: 9.301 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4694, allocations: 0.7799 MB / 0.8894 GB, free: 8.312 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.4706, allocations: 454.3 kB / 0.8898 GB, free: 7.863 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.4707, allocations: 4 kB / 0.8898 GB, free: 7.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004044/0.4747, allocations: 1.347 MB / 0.8911 GB, free: 6.496 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003899/0.4751, allocations: 428 kB / 0.8916 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/0.4752, allocations: 8 kB / 0.8916 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4763, allocations: 220.6 kB / 0.8918 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/0.4772, allocations: 179.7 kB / 0.8919 GB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.4784, allocations: 0.847 MB / 0.8928 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.4801, allocations: 128.4 kB / 0.8929 GB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4802, allocations: 47.97 kB / 0.8929 GB, free: 4.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4803, allocations: 4 kB / 0.8929 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002613/0.4829, allocations: 1.031 MB / 0.8939 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.4829, allocations: 12 kB / 0.894 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.4835, allocations: 161.3 kB / 0.8941 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/0.4843, allocations: 159.7 kB / 0.8943 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/0.488, allocations: 2.361 MB / 0.8966 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.4897, allocations: 116.5 kB / 0.8967 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.4898, allocations: 43.98 kB / 0.8967 GB, free: 460 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001188/0.491, allocations: 0.5825 MB / 0.8973 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.4914, allocations: 173.8 kB / 0.8975 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.4944, allocations: 1.07 MB / 0.8985 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4944, allocations: 4 kB / 0.8985 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.603e-06/0.4944, allocations: 0 / 0.8985 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002367/0.4968, allocations: 1.035 MB / 0.8995 GB, free: 13.5 MB / 458.7 MB 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.005547/0.5024, allocations: 2.308 MB / 0.9018 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.517e-06/0.5024, allocations: 0 / 0.9018 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.5031, allocations: 95.92 kB / 0.9019 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004784/0.5036, allocations: 144.9 kB / 0.902 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.5036, allocations: 19.98 kB / 0.902 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/0.5046, allocations: 0.7981 MB / 0.9028 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.255e-06/0.5046, allocations: 3.938 kB / 0.9028 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.5085, allocations: 1.487 MB / 0.9043 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009911/0.5095, allocations: 346.7 kB / 0.9046 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.5098, allocations: 12 kB / 0.9046 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.5111, allocations: 95.86 kB / 0.9047 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.5112, allocations: 44.31 kB / 0.9047 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.5113, allocations: 19.98 kB / 0.9048 GB, free: 7.965 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002357/0.5137, allocations: 1.278 MB / 0.906 GB, free: 6.664 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.5137, allocations: 0 / 0.906 GB, free: 6.664 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002923/0.5166, allocations: 0.8384 MB / 0.9068 GB, free: 5.824 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009986/0.5176, allocations: 366.1 kB / 0.9072 GB, free: 5.465 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004041/0.5217, allocations: 1.54 MB / 0.9087 GB, free: 3.895 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.016e-06/0.5217, allocations: 0 / 0.9087 GB, free: 3.895 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.5229, allocations: 371 kB / 0.909 GB, free: 3.535 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/0.5279, allocations: 0.8593 MB / 0.9099 GB, free: 2.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.5348, allocations: 3.459 MB / 0.9132 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.5364, allocations: 1.523 MB / 0.9147 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002207/0.5386, allocations: 430.1 kB / 0.9151 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.539, allocations: 135.3 kB / 0.9153 GB, free: 13.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.743e-06/0.5391, allocations: 0 / 0.9153 GB, free: 13.07 MB / 474.7 MB Notification: Performance of Templates: time 0.3757/0.9148, allocations: 32.1 MB / 0.9466 GB, free: 104 MB / 474.7 MB