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.0007917/0.0007917, allocations: 96.36 kB / 19.7 MB, free: 456 kB / 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.0009942/0.0009942, allocations: 211.4 kB / 23 MB, free: 2.969 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.8793/0.8793, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7293/0.7293, allocations: 203.8 MB / 0.5049 GB, free: 10.42 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.0009334/0.0009334, allocations: 62.5 kB / 0.7194 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4462, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.1631/0.6094, allocations: 213.2 MB / 1.027 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008077/0.6174, allocations: 6.812 MB / 1.034 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006975/0.6181, allocations: 71.38 kB / 1.034 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.6193, allocations: 0.6871 MB / 1.035 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.6223, allocations: 2.154 MB / 1.037 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.6251, allocations: 2.092 MB / 1.039 GB, free: 3.832 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002138/0.6272, allocations: 3.319 MB / 1.042 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.628, allocations: 0.857 MB / 1.043 GB, free: 15.63 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.6304, allocations: 2.18 MB / 1.045 GB, free: 13.44 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.6316, allocations: 0.9568 MB / 1.046 GB, free: 12.48 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.6317, allocations: 124 kB / 1.046 GB, free: 12.36 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.6338, allocations: 2.014 MB / 1.048 GB, free: 10.34 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.634, allocations: 478.4 kB / 1.048 GB, free: 9.875 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.6344, allocations: 0.5912 MB / 1.049 GB, free: 9.281 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.6364, allocations: 2.628 MB / 1.052 GB, free: 6.645 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6364, allocations: 7.938 kB / 1.052 GB, free: 6.637 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6364, allocations: 0 / 1.052 GB, free: 6.637 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.6364, allocations: 0 / 1.052 GB, free: 6.637 MB / 0.823 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.001599/0.638, allocations: 1.682 MB / 1.053 GB, free: 4.914 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.638, allocations: 16.02 kB / 1.053 GB, free: 4.898 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.6394, allocations: 426.7 kB / 1.054 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.6405, allocations: 0.963 MB / 1.055 GB, free: 3.477 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.6406, allocations: 70 kB / 1.055 GB, free: 3.41 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.6407, allocations: 87.95 kB / 1.055 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.6416, allocations: 1.013 MB / 1.056 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6416, allocations: 0 / 1.056 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.6417, allocations: 36 kB / 1.056 GB, free: 2.23 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.6417, allocations: 26 kB / 1.056 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.6427, allocations: 0.808 MB / 1.057 GB, free: 1.398 MB / 0.823 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.002259/0.645, allocations: 2.234 MB / 1.059 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.6458, allocations: 0.6098 MB / 1.059 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/0.6464, allocations: 346.2 kB / 1.06 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.6466, allocations: 96.39 kB / 1.06 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6467, allocations: 43 kB / 1.06 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 1.924e-06/0.6467, allocations: 0 / 1.06 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.001177/0.6478, allocations: 0.9532 MB / 1.061 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.6479, allocations: 63.84 kB / 1.061 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.6484, allocations: 0.7673 MB / 1.062 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.6485, allocations: 37.7 kB / 1.062 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.6487, allocations: 0.489 MB / 1.062 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.6488, allocations: 230 kB / 1.062 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.6489, allocations: 106.3 kB / 1.062 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.649, allocations: 334 kB / 1.063 GB, free: 11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.6493, allocations: 255.3 kB / 1.063 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.6497, allocations: 0.6109 MB / 1.064 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.6503, allocations: 0.5864 MB / 1.064 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6503, allocations: 0 / 1.064 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007367/0.6511, allocations: 0.7425 MB / 1.065 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6511, allocations: 4 kB / 1.065 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6511, allocations: 4 kB / 1.065 GB, free: 8.684 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6511, allocations: 4 kB / 1.065 GB, free: 8.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.6514, allocations: 123.8 kB / 1.065 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6514, allocations: 4.125 kB / 1.065 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.6517, allocations: 63.69 kB / 1.065 GB, free: 8.492 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.6517, allocations: 28 kB / 1.065 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004689/0.6522, allocations: 497.3 kB / 1.066 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003929/0.6526, allocations: 0.6185 MB / 1.066 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008222/0.6534, allocations: 0.5825 MB / 1.067 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.6534, allocations: 0 / 1.067 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0007113/0.6541, allocations: 0.7231 MB / 1.067 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.6541, allocations: 10.12 kB / 1.067 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-06/0.6541, allocations: 0 / 1.067 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.6541, allocations: 4 kB / 1.067 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.6544, allocations: 127.8 kB / 1.068 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.6544, allocations: 7.984 kB / 1.068 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.6547, allocations: 67.86 kB / 1.068 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.6547, allocations: 20 kB / 1.068 GB, free: 5.707 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.0001052/0.6548, allocations: 212.1 kB / 1.068 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.6549, allocations: 107.3 kB / 1.068 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000777/0.6557, allocations: 0.7412 MB / 1.069 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6557, allocations: 8 kB / 1.069 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6557, allocations: 3.984 kB / 1.069 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006778/0.6564, allocations: 0.898 MB / 1.07 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.6581, allocations: 1.831 MB / 1.071 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6581, allocations: 0 / 1.071 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.6584, allocations: 140.2 kB / 1.072 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.6584, allocations: 11.94 kB / 1.072 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.6584, allocations: 16 kB / 1.072 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6585, allocations: 11.92 kB / 1.072 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6585, allocations: 4 kB / 1.072 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.6596, allocations: 1.225 MB / 1.073 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.6598, allocations: 175.2 kB / 1.073 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.6598, allocations: 27.92 kB / 1.073 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.6601, allocations: 31.97 kB / 1.073 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.6602, allocations: 52.3 kB / 1.073 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.6603, allocations: 31.98 kB / 1.073 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006574/0.6609, allocations: 0.5302 MB / 1.074 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.6609, allocations: 0 / 1.074 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006854/0.6616, allocations: 0.5574 MB / 1.074 GB, free: 14.87 MB / 0.8542 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.0002616/0.6619, allocations: 225.6 kB / 1.074 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009935/0.6628, allocations: 0.8965 MB / 1.075 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6629, allocations: 0 / 1.075 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.6632, allocations: 331.5 kB / 1.076 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6644, allocations: 0.5457 MB / 1.076 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.6663, allocations: 2.226 MB / 1.078 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.6666, allocations: 0.5321 MB / 1.079 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.6668, allocations: 83.42 kB / 1.079 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.6668, allocations: 0 / 1.079 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of Templates: time 0.01307/0.6799, allocations: 17.09 MB / 1.096 GB, free: 9.016 MB / 0.8698 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: 7.4942445629276335] Failed to read output from testmodel.py, exit status != 0: 0.6855554557405412 0.692480474 0.054271258 Calling exit ...