Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009552/0.009552, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001387/0.001388, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8068/0.8068, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 0.5813 GB, free: 7.562 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.537, allocations: 80.2 MB / 0.6597 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.744/1.281, allocations: 239.9 MB / 0.8939 GB, free: 19.79 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01378/1.295, allocations: 7.192 MB / 0.9009 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/1.298, allocations: 53.12 kB / 0.901 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/1.3, allocations: 0.7162 MB / 0.9017 GB, free: 19.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006215/1.306, allocations: 2.171 MB / 0.9038 GB, free: 19.6 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005338/1.312, allocations: 2.057 MB / 0.9058 GB, free: 19.54 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0052/1.317, allocations: 3.28 MB / 0.909 GB, free: 19.53 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/1.319, allocations: 1.139 MB / 0.9101 GB, free: 19.42 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/1.323, allocations: 1.856 MB / 0.9119 GB, free: 19.4 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/1.326, allocations: 0.9675 MB / 0.9129 GB, free: 19.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002663/1.326, allocations: 123.5 kB / 0.913 GB, free: 19.39 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005804/1.332, allocations: 2.5 MB / 0.9154 GB, free: 19.37 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005677/1.332, allocations: 455.1 kB / 0.9159 GB, free: 19.37 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/1.333, allocations: 0.7222 MB / 0.9166 GB, free: 19.34 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005764/1.339, allocations: 2.691 MB / 0.9192 GB, free: 19.03 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.339, allocations: 1 kB / 0.9192 GB, free: 19.03 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.625e-06/1.339, allocations: 0 / 0.9192 GB, free: 19.03 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.6e-05/1.339, allocations: 3.094 kB / 0.9192 GB, free: 19.03 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002561/1.342, allocations: 1.713 MB / 0.9209 GB, free: 18.12 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.342, allocations: 11.34 kB / 0.9209 GB, free: 18.12 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/1.345, allocations: 424.1 kB / 0.9213 GB, free: 18.05 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/1.346, allocations: 1.018 MB / 0.9223 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/1.346, allocations: 62 kB / 0.9223 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.347, allocations: 88.78 kB / 0.9224 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/1.348, allocations: 0.8625 MB / 0.9233 GB, free: 17.63 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/1.348, allocations: 0 / 0.9233 GB, free: 17.63 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/1.348, allocations: 33.84 kB / 0.9233 GB, free: 17.63 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/1.348, allocations: 31.53 kB / 0.9233 GB, free: 17.63 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/1.35, allocations: 0.8081 MB / 0.9241 GB, free: 17.62 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.004506/1.354, allocations: 3.642 MB / 0.9277 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/1.355, allocations: 1.094 MB / 0.9287 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/1.356, allocations: 367.4 kB / 0.9291 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/1.356, allocations: 405.3 kB / 0.9295 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.357, allocations: 41.44 kB / 0.9295 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.865e-06/1.357, allocations: 0.5625 kB / 0.9295 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002094/1.359, allocations: 0.9551 MB / 0.9305 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.359, allocations: 60.31 kB / 0.9305 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.36, allocations: 0.8369 MB / 0.9313 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/1.36, allocations: 45.64 kB / 0.9314 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/1.36, allocations: 479.9 kB / 0.9318 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/1.36, allocations: 215.7 kB / 0.932 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/1.361, allocations: 111.4 kB / 0.9321 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/1.361, allocations: 330.6 kB / 0.9325 GB, free: 14 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/1.361, allocations: 254.2 kB / 0.9327 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/1.362, allocations: 376.3 kB / 0.9331 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009629/1.363, allocations: 0.5894 MB / 0.9336 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.363, allocations: 0.875 kB / 0.9336 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001148/1.364, allocations: 0.7303 MB / 0.9343 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.364, allocations: 4.906 kB / 0.9344 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.364, allocations: 0 / 0.9344 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.364, allocations: 6.656 kB / 0.9344 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/1.364, allocations: 129.9 kB / 0.9345 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.365, allocations: 5.391 kB / 0.9345 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/1.365, allocations: 72.75 kB / 0.9346 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/1.365, allocations: 25.14 kB / 0.9346 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007453/1.366, allocations: 499.2 kB / 0.9351 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004564/1.367, allocations: 364.4 kB / 0.9354 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008578/1.367, allocations: 0.5878 MB / 0.936 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/1.367, allocations: 0 / 0.936 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001139/1.369, allocations: 0.7146 MB / 0.9367 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.369, allocations: 5 kB / 0.9367 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/1.369, allocations: 1.438 kB / 0.9367 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/1.369, allocations: 4.969 kB / 0.9367 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/1.369, allocations: 125.1 kB / 0.9368 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.369, allocations: 6.062 kB / 0.9368 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/1.37, allocations: 70.45 kB / 0.9369 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/1.37, allocations: 19.59 kB / 0.9369 GB, free: 13.37 MB / 0.6856 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.0001671/1.37, allocations: 220.2 kB / 0.9371 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/1.37, allocations: 99.88 kB / 0.9372 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/1.371, allocations: 0.7424 MB / 0.9379 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.371, allocations: 8.188 kB / 0.9379 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.372, allocations: 0 / 0.9379 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009379/1.372, allocations: 0.9007 MB / 0.9388 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/1.375, allocations: 2.245 MB / 0.941 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/1.375, allocations: 3.719 kB / 0.941 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.376, allocations: 136.2 kB / 0.9411 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/1.376, allocations: 7.375 kB / 0.9412 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/1.376, allocations: 18.44 kB / 0.9412 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.376, allocations: 8.188 kB / 0.9412 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.376, allocations: 6.812 kB / 0.9412 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/1.378, allocations: 1.267 MB / 0.9424 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/1.378, allocations: 255.8 kB / 0.9427 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.378, allocations: 23.34 kB / 0.9427 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/1.379, allocations: 46.31 kB / 0.9427 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.379, allocations: 47.16 kB / 0.9428 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/1.379, allocations: 26.97 kB / 0.9428 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006757/1.38, allocations: 0.5836 MB / 0.9434 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/1.38, allocations: 3.969 kB / 0.9434 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001172/1.381, allocations: 0.5334 MB / 0.9439 GB, free: 11.29 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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.0004343/1.381, allocations: 246.3 kB / 0.9441 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00158/1.383, allocations: 0.9389 MB / 0.945 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.383, allocations: 6.875 kB / 0.9451 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005797/1.384, allocations: 343.7 kB / 0.9454 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.386, allocations: 0.5998 MB / 0.946 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/1.389, allocations: 2.117 MB / 0.948 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/1.389, allocations: 1.126 MB / 0.9491 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008337/1.39, allocations: 303.6 kB / 0.9494 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/1.39, allocations: 76.91 kB / 0.9495 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/1.39, allocations: 3.938 kB / 0.9495 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of Templates: time 0.03294/1.423, allocations: 20.53 MB / 0.9696 GB, free: 7.699 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)