Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008296/0.008296, allocations: 101.5 kB / 15.73 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 196.2 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5459, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.8254/1.371, allocations: 239.9 MB / 0.8989 GB, free: 19.7 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01316/1.384, allocations: 7.2 MB / 0.9059 GB, free: 19.6 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003003/1.388, allocations: 50.06 kB / 0.9059 GB, free: 19.6 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/1.39, allocations: 0.5073 MB / 0.9064 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004563/1.394, allocations: 1.313 MB / 0.9077 GB, free: 19.54 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/1.4, allocations: 1.697 MB / 0.9094 GB, free: 19.48 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004402/1.405, allocations: 2.01 MB / 0.9113 GB, free: 19.47 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/1.406, allocations: 0.8191 MB / 0.9121 GB, free: 19.38 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/1.411, allocations: 1.435 MB / 0.9135 GB, free: 19.36 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/1.412, allocations: 0.6804 MB / 0.9142 GB, free: 19.36 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003866/1.413, allocations: 77.25 kB / 0.9143 GB, free: 19.36 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/1.417, allocations: 1.821 MB / 0.9161 GB, free: 19.34 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005467/1.418, allocations: 302.2 kB / 0.9163 GB, free: 19.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/1.419, allocations: 496.7 kB / 0.9168 GB, free: 19.34 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004414/1.423, allocations: 1.807 MB / 0.9186 GB, free: 19.17 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.423, allocations: 3.312 kB / 0.9186 GB, free: 19.17 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.232e-06/1.424, allocations: 0 / 0.9186 GB, free: 19.17 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.374e-05/1.424, allocations: 0.6562 kB / 0.9186 GB, free: 19.17 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00299/1.427, allocations: 1.348 MB / 0.9199 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.427, allocations: 8.469 kB / 0.9199 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/1.428, allocations: 285.2 kB / 0.9202 GB, free: 18.34 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/1.43, allocations: 0.7052 MB / 0.9209 GB, free: 18.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/1.43, allocations: 40.78 kB / 0.9209 GB, free: 18.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.43, allocations: 54.44 kB / 0.921 GB, free: 18.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.431, allocations: 0.6073 MB / 0.9216 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/1.431, allocations: 0 / 0.9216 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/1.431, allocations: 26.91 kB / 0.9216 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/1.431, allocations: 15.11 kB / 0.9216 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/1.432, allocations: 0.6073 MB / 0.9222 GB, free: 17.97 MB / 0.6856 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.00344/1.436, allocations: 2.608 MB / 0.9247 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/1.437, allocations: 477.6 kB / 0.9252 GB, free: 16.67 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/1.437, allocations: 323.9 kB / 0.9255 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/1.438, allocations: 400.1 kB / 0.9259 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/1.438, allocations: 40.06 kB / 0.9259 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005668/1.439, allocations: 114.6 kB / 0.926 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=45): time 3.667e-06/1.439, allocations: 4.812 kB / 0.926 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.00256/1.441, allocations: 1.115 MB / 0.9271 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/1.441, allocations: 61 kB / 0.9272 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/1.442, allocations: 0.6545 MB / 0.9278 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/1.442, allocations: 35.27 kB / 0.9279 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/1.442, allocations: 347.2 kB / 0.9282 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.442, allocations: 168.8 kB / 0.9283 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/1.443, allocations: 95.72 kB / 0.9284 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.459e-05/1.443, allocations: 326.6 kB / 0.9287 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/1.443, allocations: 230.8 kB / 0.929 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/1.444, allocations: 326.3 kB / 0.9293 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.445, allocations: 0.5238 MB / 0.9298 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.445, allocations: 0 / 0.9298 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001585/1.446, allocations: 0.7297 MB / 0.9305 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.446, allocations: 5.375 kB / 0.9305 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/1.446, allocations: 3.438 kB / 0.9305 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/1.447, allocations: 94.55 kB / 0.9306 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/1.447, allocations: 93.75 kB / 0.9307 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004028/1.448, allocations: 0.619 MB / 0.9313 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005993/1.448, allocations: 42.55 kB / 0.9313 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/1.448, allocations: 19.47 kB / 0.9314 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006007/1.449, allocations: 393.8 kB / 0.9317 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004876/1.449, allocations: 324.2 kB / 0.932 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008652/1.45, allocations: 0.5156 MB / 0.9325 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.305e-06/1.45, allocations: 1.031 kB / 0.9325 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001269/1.452, allocations: 0.6855 MB / 0.9332 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.452, allocations: 7.125 kB / 0.9332 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.452, allocations: 2.438 kB / 0.9332 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/1.452, allocations: 61.42 kB / 0.9333 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/1.452, allocations: 94.66 kB / 0.9334 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/1.454, allocations: 1.869 MB / 0.9352 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/1.454, allocations: 39.53 kB / 0.9352 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/1.454, allocations: 20.83 kB / 0.9353 GB, free: 12.69 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/1.455, allocations: 210.4 kB / 0.9355 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.455, allocations: 78.42 kB / 0.9355 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/1.456, allocations: 0.774 MB / 0.9363 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.456, allocations: 3.656 kB / 0.9363 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/1.456, allocations: 0 / 0.9363 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.456, allocations: 4.172 kB / 0.9363 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/1.459, allocations: 1.691 MB / 0.9379 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.459, allocations: 9.75 kB / 0.938 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/1.459, allocations: 78.12 kB / 0.938 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/1.46, allocations: 74.3 kB / 0.9381 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/1.46, allocations: 16.62 kB / 0.9381 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003384/1.46, allocations: 0.6214 MB / 0.9387 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.46, allocations: 3.062 kB / 0.9387 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/1.462, allocations: 1.19 MB / 0.9399 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/1.462, allocations: 211.7 kB / 0.9401 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.462, allocations: 10.69 kB / 0.9401 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/1.463, allocations: 39.67 kB / 0.9401 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.463, allocations: 42.34 kB / 0.9402 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/1.463, allocations: 16.47 kB / 0.9402 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006227/1.464, allocations: 471.4 kB / 0.9406 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/1.464, allocations: 0 / 0.9406 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001164/1.465, allocations: 374.2 kB / 0.941 GB, free: 10.82 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (42): * Single equations (assignments): 41 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005462/1.465, allocations: 215.4 kB / 0.9412 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001936/1.467, allocations: 1.004 MB / 0.9422 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.467, allocations: 3.312 kB / 0.9422 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006011/1.468, allocations: 305.5 kB / 0.9425 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/1.47, allocations: 445.3 kB / 0.9429 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/1.475, allocations: 1.829 MB / 0.9447 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/1.476, allocations: 0.9686 MB / 0.9456 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000964/1.477, allocations: 226.8 kB / 0.9459 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/1.477, allocations: 63.83 kB / 0.9459 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of SimCode: time 2.465e-06/1.477, allocations: 0 / 0.9459 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.02757/1.505, allocations: 16.73 MB / 0.9622 GB, free: 15.18 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)