Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8384/0.8384, allocations: 150.8 MB / 166.6 MB, free: 11.14 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002588, allocations: 11.98 kB / 204.7 MB, free: 6.141 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 31.33 MB / 236 MB, free: 3.855 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss): time 1.549/1.695, allocations: 292 MB / 0.5156 GB, free: 10.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.5021/2.197, allocations: 188.3 MB / 0.6995 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/2.197, allocations: 8.125 kB / 0.6995 GB, free: 2.777 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001139/2.197, allocations: 28 kB / 0.6996 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002559/2.197, allocations: 98.5 kB / 0.6997 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02619/2.224, allocations: 8.64 MB / 0.7081 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004374/2.224, allocations: 350.9 kB / 0.7084 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/2.224, allocations: 188.1 kB / 0.7086 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/2.224, allocations: 130.6 kB / 0.7087 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/2.225, allocations: 159.8 kB / 0.7089 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/2.225, allocations: 21.91 kB / 0.7089 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0343/2.259, allocations: 19.91 MB / 0.7283 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/2.259, allocations: 63.42 kB / 0.7284 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002398/2.259, allocations: 171.7 kB / 0.7286 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02319/2.283, allocations: 9.846 MB / 0.7382 GB, free: 13.47 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/2.283, allocations: 0 / 0.7382 GB, free: 13.47 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.884e-06/2.283, allocations: 1.203 kB / 0.7382 GB, free: 13.47 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.832e-06/2.283, allocations: 0 / 0.7382 GB, free: 13.47 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004302/2.287, allocations: 1.735 MB / 0.7399 GB, free: 12.35 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/2.287, allocations: 10.12 kB / 0.7399 GB, free: 12.35 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/2.287, allocations: 45.06 kB / 0.7399 GB, free: 12.32 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/2.287, allocations: 278.2 kB / 0.7402 GB, free: 12.08 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/2.287, allocations: 28.91 kB / 0.7402 GB, free: 12.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/2.287, allocations: 35.86 kB / 0.7403 GB, free: 12.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/2.288, allocations: 340.8 kB / 0.7406 GB, free: 11.93 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/2.288, allocations: 0 / 0.7406 GB, free: 11.93 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/2.288, allocations: 13.34 kB / 0.7406 GB, free: 11.93 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/2.288, allocations: 14.69 kB / 0.7406 GB, free: 11.93 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/2.288, allocations: 222.7 kB / 0.7408 GB, free: 11.89 MB / 0.573 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.007924/2.296, allocations: 6.082 MB / 0.7468 GB, free: 6.645 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/2.296, allocations: 67.25 kB / 0.7468 GB, free: 6.609 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/2.296, allocations: 20.3 kB / 0.7468 GB, free: 6.602 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1574/2.454, allocations: 70.91 MB / 0.8161 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/2.454, allocations: 33.25 kB / 0.8161 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/2.454, allocations: 4 kB / 0.8161 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0006463/2.455, allocations: 216.7 kB / 0.8163 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/2.455, allocations: 51.41 kB / 0.8164 GB, free: 12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/2.455, allocations: 278.5 kB / 0.8166 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/2.455, allocations: 26.8 kB / 0.8167 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/2.455, allocations: 227.4 kB / 0.8169 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/2.455, allocations: 19.66 kB / 0.8169 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/2.455, allocations: 59.44 kB / 0.817 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/2.455, allocations: 330.3 kB / 0.8173 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.264e-05/2.455, allocations: 36.11 kB / 0.8173 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/2.456, allocations: 148.6 kB / 0.8175 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/2.456, allocations: 179.6 kB / 0.8176 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.456, allocations: 1.203 kB / 0.8176 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004354/2.456, allocations: 256.9 kB / 0.8179 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/2.456, allocations: 4 kB / 0.8179 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/2.456, allocations: 4 kB / 0.8179 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008103/2.457, allocations: 117.2 kB / 0.818 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/2.457, allocations: 42.33 kB / 0.818 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003968/2.458, allocations: 0.5577 MB / 0.8186 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/2.458, allocations: 31.84 kB / 0.8186 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/2.458, allocations: 11.98 kB / 0.8186 GB, free: 9.828 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001419/2.458, allocations: 155.2 kB / 0.8188 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/2.458, allocations: 19.81 kB / 0.8188 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/2.458, allocations: 137.7 kB / 0.8189 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/2.458, allocations: 48 / 0.8189 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/2.458, allocations: 6.891 kB / 0.8189 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/2.458, allocations: 0 / 0.8189 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/2.459, allocations: 282.9 kB / 0.8192 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/2.459, allocations: 4 kB / 0.8192 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/2.459, allocations: 0 / 0.8192 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/2.459, allocations: 89.7 kB / 0.8193 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/2.459, allocations: 4 kB / 0.8193 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003918/2.46, allocations: 0.555 MB / 0.8198 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/2.46, allocations: 0 / 0.8198 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/2.46, allocations: 0.816 MB / 0.8206 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/2.46, allocations: 99.33 kB / 0.8207 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/2.461, allocations: 3.938 kB / 0.8207 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/2.461, allocations: 3.984 kB / 0.8207 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/2.461, allocations: 4 kB / 0.8207 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/2.461, allocations: 0 / 0.8207 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002022/2.461, allocations: 205 kB / 0.8209 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/2.461, allocations: 4 kB / 0.8209 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003658/2.465, allocations: 1.492 MB / 0.8224 GB, free: 6.227 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006141/2.471, allocations: 2.277 MB / 0.8246 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003894/2.471, allocations: 107.8 kB / 0.8247 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/2.471, allocations: 0 / 0.8247 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/2.471, allocations: 31.75 kB / 0.8247 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/2.472, allocations: 66.83 kB / 0.8248 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/2.472, allocations: 0.6316 MB / 0.8254 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/2.473, allocations: 0.7558 MB / 0.8262 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001406/2.473, allocations: 38.28 kB / 0.8262 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/2.473, allocations: 26.44 kB / 0.8262 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/2.473, allocations: 1.203 kB / 0.8262 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of Templates: time 0.0548/2.528, allocations: 45.54 MB / 0.8707 GB, free: 5.145 MB / 0.698 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1)