Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000696/0.000696, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007189/0.0007189, allocations: 207.8 kB / 23.01 MB, free: 3.117 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9007/0.9007, allocations: 230.6 MB / 256.8 MB, free: 3.527 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7651/0.7651, allocations: 203.8 MB / 0.5049 GB, free: 0.6953 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 74.89 kB / 0.7194 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.493, allocations: 102 MB / 0.8191 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.1715/0.6645, allocations: 244.6 MB / 1.058 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.008625/0.6731, allocations: 7.271 MB / 1.065 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008611/0.674, allocations: 79.31 kB / 1.065 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.6754, allocations: 0.7261 MB / 1.066 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.4588/1.134, allocations: 2.176 MB / 1.068 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004535/1.139, allocations: 2.147 MB / 1.07 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.004627/1.143, allocations: 3.342 MB / 1.073 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/1.145, allocations: 0.8736 MB / 1.074 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/1.149, allocations: 2.185 MB / 1.076 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/1.151, allocations: 1.007 MB / 1.077 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/1.151, allocations: 120.2 kB / 1.077 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004255/1.155, allocations: 2.648 MB / 1.08 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/1.156, allocations: 473 kB / 1.08 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.157, allocations: 0.7278 MB / 1.081 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/1.161, allocations: 2.694 MB / 1.084 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.161, allocations: 0 / 1.084 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.874e-06/1.161, allocations: 3.562 kB / 1.084 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.923e-05/1.161, allocations: 0.8125 kB / 1.084 GB, free: 20.91 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002804/1.164, allocations: 1.686 MB / 1.085 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.164, allocations: 11.62 kB / 1.085 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/1.166, allocations: 428.3 kB / 1.086 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/1.167, allocations: 0.9674 MB / 1.087 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/1.167, allocations: 60.38 kB / 1.087 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.167, allocations: 86.56 kB / 1.087 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/1.169, allocations: 0.8646 MB / 1.088 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.169, allocations: 0 / 1.088 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/1.169, allocations: 37.06 kB / 1.088 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/1.169, allocations: 29.03 kB / 1.088 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/1.17, allocations: 0.81 MB / 1.089 GB, free: 19.6 MB / 0.8386 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.003383/1.173, allocations: 3.688 MB / 1.092 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/1.174, allocations: 0.6099 MB / 1.093 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/1.174, allocations: 343 kB / 1.093 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/1.175, allocations: 100.8 kB / 1.093 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/1.175, allocations: 43.75 kB / 1.093 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 3.356e-06/1.175, allocations: 1.203 kB / 1.093 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.00134/1.176, allocations: 0.956 MB / 1.094 GB, free: 17.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.176, allocations: 61.84 kB / 1.094 GB, free: 17.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008824/1.177, allocations: 0.849 MB / 1.095 GB, free: 17.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/1.177, allocations: 36.2 kB / 1.095 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/1.177, allocations: 493.9 kB / 1.096 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.177, allocations: 228.9 kB / 1.096 GB, free: 17.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.178, allocations: 105.8 kB / 1.096 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/1.178, allocations: 327.6 kB / 1.096 GB, free: 16.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/1.178, allocations: 258.3 kB / 1.097 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/1.178, allocations: 370.2 kB / 1.097 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/1.179, allocations: 0.5903 MB / 1.097 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.179, allocations: 0 / 1.097 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008091/1.18, allocations: 0.7399 MB / 1.098 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.18, allocations: 5.5 kB / 1.098 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.18, allocations: 5.766 kB / 1.098 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.18, allocations: 3.969 kB / 1.098 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/1.18, allocations: 127.2 kB / 1.098 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/1.18, allocations: 9.938 kB / 1.098 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/1.18, allocations: 75.75 kB / 1.098 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/1.18, allocations: 18.97 kB / 1.098 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005237/1.181, allocations: 0.4914 MB / 1.099 GB, free: 16.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003137/1.181, allocations: 362.4 kB / 1.099 GB, free: 16.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005637/1.182, allocations: 0.5795 MB / 1.1 GB, free: 16.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/1.182, allocations: 4.219 kB / 1.1 GB, free: 16.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0007376/1.183, allocations: 0.7273 MB / 1.101 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.183, allocations: 9.594 kB / 1.101 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/1.183, allocations: 1.766 kB / 1.101 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/1.183, allocations: 5.969 kB / 1.101 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/1.183, allocations: 120.1 kB / 1.101 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.183, allocations: 9.344 kB / 1.101 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/1.183, allocations: 68.3 kB / 1.101 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/1.183, allocations: 24.5 kB / 1.101 GB, free: 16.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.183, allocations: 216.7 kB / 1.101 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/1.184, allocations: 106.9 kB / 1.101 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000882/1.184, allocations: 0.7463 MB / 1.102 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/1.184, allocations: 9.75 kB / 1.102 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/1.184, allocations: 3.938 kB / 1.102 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007102/1.185, allocations: 0.9012 MB / 1.103 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/1.188, allocations: 2.22 MB / 1.105 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.188, allocations: 6.75 kB / 1.105 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/1.188, allocations: 134.9 kB / 1.105 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/1.188, allocations: 5.375 kB / 1.105 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/1.188, allocations: 19.59 kB / 1.105 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/1.188, allocations: 5.594 kB / 1.105 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.188, allocations: 13.22 kB / 1.105 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/1.189, allocations: 1.228 MB / 1.106 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/1.189, allocations: 187.9 kB / 1.106 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/1.189, allocations: 21.91 kB / 1.106 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/1.19, allocations: 38.94 kB / 1.106 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/1.19, allocations: 57.97 kB / 1.107 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/1.19, allocations: 22.36 kB / 1.107 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005231/1.19, allocations: 0.592 MB / 1.107 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.19, allocations: 0 / 1.107 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009706/1.191, allocations: 0.5367 MB / 1.108 GB, free: 14.28 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003491/1.192, allocations: 223 kB / 1.108 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001163/1.193, allocations: 0.8985 MB / 1.109 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.193, allocations: 3.156 kB / 1.109 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003335/1.193, allocations: 329.5 kB / 1.109 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.195, allocations: 0.6042 MB / 1.11 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/1.197, allocations: 2.239 MB / 1.112 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/1.198, allocations: 1.123 MB / 1.113 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/1.198, allocations: 90.56 kB / 1.113 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of SimCode: time 1.362e-06/1.198, allocations: 1.422 kB / 1.113 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.02101/1.219, allocations: 17.3 MB / 1.13 GB, free: 9.734 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.285023248987272] Failed to read output from testmodel.py, exit status != 0: 1.2251894949004054 1.232811481 0.069652906 Calling exit ...