Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002422/0.002428, allocations: 355.1 kB / 15.94 MB, free: 6.207 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.531/1.531, allocations: 165.8 MB / 182.5 MB, free: 5.461 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 4.16/4.16, allocations: 410.7 MB / 0.5995 GB, free: 15.16 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.001673/0.001673, allocations: 185.4 kB / 0.6662 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004876, allocations: 8 kB / 0.7423 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 67.45 MB / 0.8081 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5746/0.9089, allocations: 145.9 MB / 0.9506 GB, free: 1.598 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.9119, allocations: 1.649 MB / 0.9522 GB, free: 1.562 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.9123, allocations: 10.25 kB / 0.9522 GB, free: 1.562 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.9129, allocations: 161.2 kB / 0.9524 GB, free: 1.562 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.9146, allocations: 0.5174 MB / 0.9529 GB, free: 1.559 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.9161, allocations: 441.6 kB / 0.9533 GB, free: 1.547 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000867/0.917, allocations: 0.6458 MB / 0.9539 GB, free: 1.547 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.9173, allocations: 138.4 kB / 0.9541 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.9178, allocations: 219 kB / 0.9543 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.9181, allocations: 156.6 kB / 0.9544 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.9181, allocations: 7.062 kB / 0.9544 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009235/0.919, allocations: 352 kB / 0.9548 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.9192, allocations: 74.02 kB / 0.9548 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.9193, allocations: 69.62 kB / 0.9549 GB, free: 1.5 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.9198, allocations: 292 kB / 0.9552 GB, free: 1.465 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.561e-06/0.9198, allocations: 0 / 0.9552 GB, free: 1.465 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.062e-06/0.9198, allocations: 1.156 kB / 0.9552 GB, free: 1.465 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.402e-06/0.9198, allocations: 0 / 0.9552 GB, free: 1.465 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000837/0.9207, allocations: 0.5263 MB / 0.9557 GB, free: 1.016 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.9207, allocations: 9.156 kB / 0.9557 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/0.9211, allocations: 67.42 kB / 0.9558 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.9216, allocations: 278.5 kB / 0.956 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.9216, allocations: 15.5 kB / 0.9561 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.9217, allocations: 13.06 kB / 0.9561 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.9221, allocations: 195.8 kB / 0.9563 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.9222, allocations: 0 / 0.9563 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.9222, allocations: 7.875 kB / 0.9563 GB, free: 0.707 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.764e-06/0.9222, allocations: 4.406 kB / 0.9563 GB, free: 0.707 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.9226, allocations: 146.8 kB / 0.9564 GB, free: 0.6992 MB / 474.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.001343/0.924, allocations: 0.7864 MB / 0.9572 GB, free: 16.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.9243, allocations: 83.94 kB / 0.9573 GB, free: 16.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.9245, allocations: 81.22 kB / 0.9573 GB, free: 16.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/0.9249, allocations: 192.8 kB / 0.9575 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.925, allocations: 34.39 kB / 0.9576 GB, free: 15.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 2.84e-06/0.925, allocations: 0 / 0.9576 GB, free: 15.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008973/0.9259, allocations: 240.4 kB / 0.9578 GB, free: 15.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.926, allocations: 52.88 kB / 0.9578 GB, free: 15.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.9263, allocations: 266 kB / 0.9581 GB, free: 15.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.9264, allocations: 31.95 kB / 0.9581 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.9265, allocations: 139.7 kB / 0.9583 GB, free: 15.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.9266, allocations: 41.59 kB / 0.9583 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-06/0.9266, allocations: 4.562 kB / 0.9583 GB, free: 15.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.9268, allocations: 329.5 kB / 0.9586 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.9269, allocations: 48.8 kB / 0.9587 GB, free: 15.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.9272, allocations: 102.8 kB / 0.9588 GB, free: 15.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.9273, allocations: 52.84 kB / 0.9588 GB, free: 15.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.112e-06/0.9274, allocations: 4 kB / 0.9588 GB, free: 15.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005021/0.9279, allocations: 161.4 kB / 0.959 GB, free: 15.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/0.928, allocations: 124.1 kB / 0.9591 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.277e-06/0.928, allocations: 1.062 kB / 0.9591 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.928, allocations: 2.031 kB / 0.9591 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.9282, allocations: 22.19 kB / 0.9591 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.9283, allocations: 4.312 kB / 0.9591 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.9286, allocations: 30.7 kB / 0.9591 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.9286, allocations: 4.406 kB / 0.9591 GB, free: 15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.9287, allocations: 6.781 kB / 0.9591 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00042/0.9291, allocations: 113.9 kB / 0.9593 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.9291, allocations: 5.156 kB / 0.9593 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.147e-06/0.9291, allocations: 4.578 kB / 0.9593 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.9293, allocations: 27.56 kB / 0.9593 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.269e-06/0.9293, allocations: 4.359 kB / 0.9593 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.9296, allocations: 27.2 kB / 0.9593 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.9296, allocations: 8.844 kB / 0.9593 GB, free: 14.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002509/0.9299, allocations: 221.8 kB / 0.9595 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.93, allocations: 23.19 kB / 0.9596 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.9305, allocations: 169.8 kB / 0.9597 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.966e-06/0.9305, allocations: 1.75 kB / 0.9597 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.257e-06/0.9306, allocations: 4 kB / 0.9597 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-06/0.9306, allocations: 0.5 kB / 0.9597 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.9319, allocations: 0.5962 MB / 0.9603 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.477e-06/0.9319, allocations: 3 kB / 0.9603 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.932, allocations: 26.92 kB / 0.9603 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.9321, allocations: 3.312 kB / 0.9603 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.9321, allocations: 14.08 kB / 0.9604 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-06/0.9321, allocations: 3.188 kB / 0.9604 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.496e-06/0.9321, allocations: 5.188 kB / 0.9604 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.9326, allocations: 303.9 kB / 0.9607 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.9328, allocations: 111.2 kB / 0.9608 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.9329, allocations: 6.094 kB / 0.9608 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.9332, allocations: 24.64 kB / 0.9608 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.9333, allocations: 11.7 kB / 0.9608 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.9333, allocations: 5.344 kB / 0.9608 GB, free: 14.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.9336, allocations: 194.8 kB / 0.961 GB, free: 13.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.87e-07/0.9336, allocations: 0 / 0.961 GB, free: 13.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006435/0.9342, allocations: 97.53 kB / 0.9611 GB, free: 13.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004295/0.9347, allocations: 170.6 kB / 0.9613 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005791/0.9353, allocations: 176.8 kB / 0.9614 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.806e-06/0.9353, allocations: 0 / 0.9614 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.9355, allocations: 68.83 kB / 0.9615 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.9367, allocations: 129.8 kB / 0.9616 GB, free: 13.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.9377, allocations: 0.4943 MB / 0.9621 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.9382, allocations: 0.7675 MB / 0.9628 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003938/0.9386, allocations: 70.86 kB / 0.9629 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.9387, allocations: 28.23 kB / 0.9629 GB, free: 12.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.73e-06/0.9387, allocations: 0 / 0.9629 GB, free: 12.78 MB / 490.7 MB Notification: Performance of Templates: time 0.01091/0.9496, allocations: 4.129 MB / 0.967 GB, free: 12.49 MB / 490.7 MB