Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.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.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.843/0.843, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.869e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1758, allocations: 31.98 MB / 236.8 MB, free: 5.441 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2): time 1.666/1.842, allocations: 300.7 MB / 0.5249 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5429/2.385, allocations: 188.1 MB / 0.7086 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/2.386, allocations: 45.94 kB / 0.7086 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004141/2.387, allocations: 220.3 kB / 0.7088 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/2.388, allocations: 0.7381 MB / 0.7096 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02767/2.416, allocations: 9.567 MB / 0.7189 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003483/2.42, allocations: 2.893 MB / 0.7217 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/2.421, allocations: 1.369 MB / 0.7231 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/2.422, allocations: 0.9509 MB / 0.724 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009805/2.423, allocations: 1.099 MB / 0.7251 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001885/2.423, allocations: 121.9 kB / 0.7252 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03366/2.457, allocations: 20.33 MB / 0.745 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006555/2.458, allocations: 439 kB / 0.7454 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001931/2.46, allocations: 1.247 MB / 0.7467 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02803/2.488, allocations: 12.49 MB / 0.7589 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/2.488, allocations: 0 / 0.7589 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.275e-06/2.488, allocations: 0 / 0.7589 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001674/2.488, allocations: 0 / 0.7589 GB, free: 12.56 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.008597/2.496, allocations: 3.392 MB / 0.7622 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/2.496, allocations: 9.406 kB / 0.7622 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/2.497, allocations: 326.4 kB / 0.7625 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/2.499, allocations: 1.119 MB / 0.7636 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/2.499, allocations: 213.9 kB / 0.7638 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/2.5, allocations: 278.6 kB / 0.7641 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005212/2.505, allocations: 2.888 MB / 0.7669 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.826e-05/2.505, allocations: 15.25 kB / 0.7669 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/2.505, allocations: 124 kB / 0.767 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/2.505, allocations: 76.38 kB / 0.7671 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003768/2.509, allocations: 1.92 MB / 0.769 GB, free: 8.258 MB / 0.5919 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.03377/2.543, allocations: 26.91 MB / 0.7952 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/2.544, allocations: 0.6909 MB / 0.7959 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/2.545, allocations: 275.2 kB / 0.7962 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7306/3.275, allocations: 250.1 MB / 1.04 GB, free: 418.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/3.275, allocations: 41.91 kB / 1.04 GB, free: 418.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.795e-06/3.275, allocations: 0 / 1.04 GB, free: 418.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.006212/3.282, allocations: 2.702 MB / 1.043 GB, free: 416.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/3.282, allocations: 110.8 kB / 1.043 GB, free: 416.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/3.284, allocations: 1.494 MB / 1.045 GB, free: 415.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/3.284, allocations: 37.08 kB / 1.045 GB, free: 415.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008521/3.285, allocations: 1.319 MB / 1.046 GB, free: 414.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/3.285, allocations: 262.4 kB / 1.046 GB, free: 413.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/3.286, allocations: 203.5 kB / 1.046 GB, free: 413.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/3.286, allocations: 309.1 kB / 1.047 GB, free: 413.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007687/3.287, allocations: 377.2 kB / 1.047 GB, free: 413.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/3.288, allocations: 1.335 MB / 1.048 GB, free: 411.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/3.29, allocations: 1.806 MB / 1.05 GB, free: 409.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/3.29, allocations: 10.91 kB / 1.05 GB, free: 409.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004424/3.294, allocations: 2.332 MB / 1.052 GB, free: 407.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/3.294, allocations: 21.25 kB / 1.052 GB, free: 407.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/3.294, allocations: 36.91 kB / 1.052 GB, free: 407.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/3.296, allocations: 0.5795 MB / 1.053 GB, free: 407.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/3.297, allocations: 323.2 kB / 1.053 GB, free: 406.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004972/3.302, allocations: 9.271 MB / 1.062 GB, free: 397.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/3.304, allocations: 324.4 kB / 1.063 GB, free: 397.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/3.304, allocations: 114.6 kB / 1.063 GB, free: 397 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 60 (massFlowMultiplier.Cs.ftype,sourceQ1.C.ftype,massFlowMultiplier.fluids[1],singularPressureLoss7.fluid,singularPressureLoss8.fluid,sinkP2.fluid,sourceQ1.fluid1,massFlowMultiplier.fluid1,sourceQ.C.ftype,mixer2_2.Cs.ftype,sourceP3.C.ftype,sourceP2.C.ftype,mixer2_2.fluids[1],singularPressureLoss3.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sinkP1.fluid,singularPressureLoss6.fluid,sourceQ.fluid1,sourceP3.fluid1,sourceP2.fluid1,mixer2_2.fluid1,mixer2_1.Cs.ftype,sourceP1.C.ftype,sourceP.C.ftype,mixer2_1.fluids[1],singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,sinkP.fluid,sourceP1.fluid1,sourceP.fluid1,mixer2_1.fluid1,massFlowMultiplier.Cs.diff_on_2,massFlowMultiplier.Cs.diff_on_1,singularPressureLoss8.C2.diff_on_1,massFlowMultiplier.Ce.diff_on_2,sourceQ1.C.diff_on_2,singularPressureLoss7.C2.diff_on_1,mixer2_2.Ce3.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss6.C2.diff_on_1,mixer2_2.Cs.diff_on_2,singularPressureLoss5.C2.diff_on_1,singularPressureLoss4.C2.diff_on_1,mixer2_2.Ce2.diff_on_2,sourceP3.C.diff_on_2,mixer2_2.Ce1.diff_on_2,sourceP2.C.diff_on_2,mixer2_2.Cs.diff_on_1,singularPressureLoss3.C2.diff_on_1,mixer2_1.Cs.diff_on_2,singularPressureLoss2.C2.diff_on_1,singularPressureLoss1.C2.diff_on_1,mixer2_1.Ce2.diff_on_2,sourceP1.C.diff_on_2,mixer2_1.Ce1.diff_on_2,sourceP.C.diff_on_2,mixer2_1.Cs.diff_on_1,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 (205): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008556/3.305, allocations: 468.2 kB / 1.063 GB, free: 396.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/3.305, allocations: 169.6 kB / 1.063 GB, free: 396.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/3.308, allocations: 1.34 MB / 1.065 GB, free: 395.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/3.308, allocations: 4.938 kB / 1.065 GB, free: 395.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/3.308, allocations: 7.984 kB / 1.065 GB, free: 395.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/3.308, allocations: 0 / 1.065 GB, free: 395.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/3.312, allocations: 2.058 MB / 1.067 GB, free: 393.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/3.312, allocations: 4.031 kB / 1.067 GB, free: 393.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/3.312, allocations: 47.8 kB / 1.067 GB, free: 393.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/3.313, allocations: 0.5082 MB / 1.067 GB, free: 393.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/3.314, allocations: 27.5 kB / 1.067 GB, free: 393.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/3.318, allocations: 9.17 MB / 1.076 GB, free: 384 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/3.318, allocations: 4.031 kB / 1.076 GB, free: 384 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/3.32, allocations: 1.35 MB / 1.078 GB, free: 382.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/3.321, allocations: 324.4 kB / 1.078 GB, free: 382.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/3.321, allocations: 15.56 kB / 1.078 GB, free: 382.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/3.322, allocations: 15.67 kB / 1.078 GB, free: 382.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/3.322, allocations: 59.36 kB / 1.078 GB, free: 382.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/3.322, allocations: 23.75 kB / 1.078 GB, free: 382.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001353/3.323, allocations: 0.9387 MB / 1.079 GB, free: 381.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/3.323, allocations: 7 kB / 1.079 GB, free: 381.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00657/3.33, allocations: 1.998 MB / 1.081 GB, free: 380 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008613/3.339, allocations: 2.268 MB / 1.083 GB, free: 378.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003018/3.342, allocations: 1.472 MB / 1.085 GB, free: 377 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/3.342, allocations: 0 / 1.085 GB, free: 377 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/3.343, allocations: 0.7192 MB / 1.085 GB, free: 376.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/3.345, allocations: 437.2 kB / 1.086 GB, free: 376 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/3.351, allocations: 4.001 MB / 1.09 GB, free: 372.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/3.352, allocations: 1.434 MB / 1.091 GB, free: 370.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001358/3.354, allocations: 295.8 kB / 1.091 GB, free: 370.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/3.354, allocations: 111.2 kB / 1.091 GB, free: 370.3 MB / 0.8106 GB Notification: Performance of SimCode: time 1.252e-06/3.354, allocations: 4 kB / 1.091 GB, free: 370.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.0835/3.438, allocations: 62.38 MB / 1.152 GB, free: 308.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.pipe 2>&1) Environment - environmentSimulation: