Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 110.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2628/0.2628, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002579, allocations: 80.16 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4333, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.7494/1.183, allocations: 200.3 MB / 0.7273 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01511/1.198, allocations: 10.97 MB / 0.738 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/1.2, allocations: 37.09 kB / 0.738 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/1.201, allocations: 439.8 kB / 0.7384 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006228/1.207, allocations: 2.297 MB / 0.7407 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008191/1.216, allocations: 3.215 MB / 0.7438 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003878/1.219, allocations: 2.895 MB / 0.7466 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.221, allocations: 0.7615 MB / 0.7474 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/1.224, allocations: 1.168 MB / 0.7485 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/1.227, allocations: 1.234 MB / 0.7497 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006268/1.227, allocations: 106.6 kB / 0.7498 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00739/1.235, allocations: 2.615 MB / 0.7524 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009218/1.236, allocations: 400 kB / 0.7528 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001859/1.238, allocations: 0.5949 MB / 0.7534 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.248, allocations: 3.149 MB / 0.7564 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.248, allocations: 0.6875 kB / 0.7564 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/1.248, allocations: 0 / 0.7564 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.972e-05/1.248, allocations: 0.8125 kB / 0.7564 GB, free: 1.344 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006692/1.255, allocations: 1.773 MB / 0.7582 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.255, allocations: 9.375 kB / 0.7582 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/1.256, allocations: 204.4 kB / 0.7584 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/1.258, allocations: 0.7832 MB / 0.7591 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/1.258, allocations: 54.42 kB / 0.7592 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/1.259, allocations: 64.45 kB / 0.7592 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/1.261, allocations: 1.159 MB / 0.7604 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/1.261, allocations: 4.156 kB / 0.7604 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/1.261, allocations: 28 kB / 0.7604 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/1.261, allocations: 79.36 kB / 0.7605 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/1.263, allocations: 1.144 MB / 0.7616 GB, free: 15.9 MB / 0.5762 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.008857/1.272, allocations: 4.349 MB / 0.7658 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/1.274, allocations: 0.7664 MB / 0.7666 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/1.275, allocations: 374.8 kB / 0.767 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/1.275, allocations: 356 kB / 0.7673 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/1.275, allocations: 40.28 kB / 0.7673 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006479/1.276, allocations: 102.7 kB / 0.7674 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 6.923e-06/1.276, allocations: 0 / 0.7674 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006832/1.283, allocations: 2.037 MB / 0.7694 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.283, allocations: 215.4 kB / 0.7696 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/1.284, allocations: 0.8856 MB / 0.7705 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/1.285, allocations: 39.83 kB / 0.7705 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/1.285, allocations: 445.8 kB / 0.771 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/1.285, allocations: 215.1 kB / 0.7712 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/1.286, allocations: 200.9 kB / 0.7713 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.286, allocations: 336.8 kB / 0.7717 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/1.287, allocations: 418.2 kB / 0.7721 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000979/1.288, allocations: 0.6195 MB / 0.7727 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/1.29, allocations: 0.9862 MB / 0.7736 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.29, allocations: 6.938 kB / 0.7736 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002709/1.292, allocations: 1.34 MB / 0.775 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.292, allocations: 10.5 kB / 0.775 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/1.292, allocations: 5.094 kB / 0.775 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004813/1.297, allocations: 0.8408 MB / 0.7758 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/1.298, allocations: 171 kB / 0.776 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/1.3, allocations: 1.194 MB / 0.7771 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.301, allocations: 40.91 kB / 0.7772 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/1.301, allocations: 70.22 kB / 0.7772 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/1.302, allocations: 0.5726 MB / 0.7778 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008943/1.303, allocations: 0.6017 MB / 0.7784 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001551/1.305, allocations: 0.9353 MB / 0.7793 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.128e-05/1.305, allocations: 2.406 kB / 0.7793 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002705/1.307, allocations: 1.243 MB / 0.7805 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.307, allocations: 10.95 kB / 0.7805 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.307, allocations: 4.688 kB / 0.7805 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/1.308, allocations: 174 kB / 0.7807 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/1.309, allocations: 196 kB / 0.7809 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/1.312, allocations: 2.331 MB / 0.7831 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/1.313, allocations: 50.06 kB / 0.7832 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.313, allocations: 69.48 kB / 0.7833 GB, free: 9.129 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (80): * Single equations (assignments): 79 * 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 {(3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004194/1.313, allocations: 228.3 kB / 0.7835 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/1.314, allocations: 102.4 kB / 0.7836 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/1.317, allocations: 1.914 MB / 0.7854 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.318, allocations: 0 / 0.7854 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.318, allocations: 0 / 0.7854 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/1.318, allocations: 172.3 kB / 0.7856 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/1.318, allocations: 11.31 kB / 0.7856 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/1.319, allocations: 34.09 kB / 0.7857 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.319, allocations: 47 kB / 0.7857 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002741/1.322, allocations: 1.198 MB / 0.7869 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002264/1.324, allocations: 1.423 MB / 0.7883 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005987/1.325, allocations: 373.3 kB / 0.7886 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009471/1.326, allocations: 0.625 MB / 0.7892 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of Backend: time 6.81e-07/1.326, allocations: 1.094 kB / 0.7892 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006622/1.332, allocations: 2.173 MB / 0.7913 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004676/1.337, allocations: 2.503 MB / 0.7938 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of Templates: time 0.06358/1.4, allocations: 36.09 MB / 0.829 GB, free: 320 kB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)