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.0009008/0.0009005, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005329/0.005329, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.441/1.441, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.824/0.824, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 8.625 kB / 0.504 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4914, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2646/0.756, allocations: 234.6 MB / 0.8127 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4298/1.186, allocations: 7.2 MB / 0.8197 GB, free: 20.01 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/1.188, allocations: 45.34 kB / 0.8198 GB, free: 20.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/1.19, allocations: 0.5792 MB / 0.8204 GB, free: 20.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007095/1.197, allocations: 1.955 MB / 0.8223 GB, free: 19.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00597/1.203, allocations: 1.857 MB / 0.8241 GB, free: 19.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007158/1.21, allocations: 4.43 MB / 0.8284 GB, free: 19.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/1.212, allocations: 0.9169 MB / 0.8293 GB, free: 19.86 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004217/1.216, allocations: 1.57 MB / 0.8308 GB, free: 19.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/1.218, allocations: 0.9501 MB / 0.8318 GB, free: 19.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/1.219, allocations: 50.84 kB / 0.8318 GB, free: 19.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005871/1.224, allocations: 2.831 MB / 0.8346 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007067/1.225, allocations: 384.8 kB / 0.8349 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/1.226, allocations: 0.6615 MB / 0.8356 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005514/1.232, allocations: 2.731 MB / 0.8383 GB, free: 19.63 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.232, allocations: 0 / 0.8383 GB, free: 19.63 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.485e-06/1.232, allocations: 3.094 kB / 0.8383 GB, free: 19.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.646e-05/1.232, allocations: 0 / 0.8383 GB, free: 19.63 MB / 0.6387 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.003008/1.235, allocations: 1.479 MB / 0.8397 GB, free: 18.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.235, allocations: 11.27 kB / 0.8397 GB, free: 18.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/1.238, allocations: 420.8 kB / 0.8401 GB, free: 18.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/1.24, allocations: 0.9657 MB / 0.8411 GB, free: 18.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/1.24, allocations: 63.25 kB / 0.8411 GB, free: 18.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.24, allocations: 87.62 kB / 0.8412 GB, free: 18.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/1.241, allocations: 0.8721 MB / 0.8421 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/1.241, allocations: 4 kB / 0.8421 GB, free: 18.26 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/1.241, allocations: 31.53 kB / 0.8421 GB, free: 18.26 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/1.241, allocations: 37.81 kB / 0.8421 GB, free: 18.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/1.243, allocations: 0.8215 MB / 0.8429 GB, free: 18.25 MB / 0.6387 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.004206/1.247, allocations: 3.637 MB / 0.8465 GB, free: 16.64 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/1.248, allocations: 1.102 MB / 0.8476 GB, free: 16.04 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/1.249, allocations: 379.4 kB / 0.8479 GB, free: 16.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/1.25, allocations: 425.8 kB / 0.8483 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.25, allocations: 39.05 kB / 0.8484 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.355e-06/1.25, allocations: 0 / 0.8484 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002055/1.252, allocations: 0.9955 MB / 0.8493 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/1.252, allocations: 61.2 kB / 0.8494 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.253, allocations: 0.8377 MB / 0.8502 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/1.253, allocations: 39.98 kB / 0.8502 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/1.253, allocations: 480 kB / 0.8507 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/1.253, allocations: 221 kB / 0.8509 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/1.253, allocations: 52.56 kB / 0.851 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/1.253, allocations: 327.5 kB / 0.8513 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/1.254, allocations: 254.5 kB / 0.8515 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/1.254, allocations: 385.1 kB / 0.8519 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009599/1.255, allocations: 0.6133 MB / 0.8525 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.255, allocations: 3.844 kB / 0.8525 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001284/1.257, allocations: 0.752 MB / 0.8532 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/1.257, allocations: 124.5 kB / 0.8533 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.257, allocations: 2.906 kB / 0.8533 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.257, allocations: 2.938 kB / 0.8533 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/1.257, allocations: 137.9 kB / 0.8535 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/1.257, allocations: 1.75 kB / 0.8535 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.258, allocations: 127.1 kB / 0.8536 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/1.259, allocations: 19.58 kB / 0.8536 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-06/1.259, allocations: 3.594 kB / 0.8536 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/1.26, allocations: 0.6279 MB / 0.8542 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.26, allocations: 2.281 kB / 0.8542 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/1.26, allocations: 6.484 kB / 0.8542 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/1.26, allocations: 128.8 kB / 0.8544 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/1.26, allocations: 13.16 kB / 0.8544 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.261, allocations: 122.5 kB / 0.8545 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/1.261, allocations: 18.31 kB / 0.8545 GB, free: 14.14 MB / 0.6387 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.0005372/1.262, allocations: 385.9 kB / 0.8549 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/1.262, allocations: 103.2 kB / 0.855 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/1.263, allocations: 0.7644 MB / 0.8557 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.263, allocations: 13.78 kB / 0.8557 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.263, allocations: 0 / 0.8557 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/1.265, allocations: 0.923 MB / 0.8566 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/1.268, allocations: 2.264 MB / 0.8589 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.268, allocations: 0 / 0.8589 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/1.269, allocations: 144.2 kB / 0.859 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/1.269, allocations: 7.062 kB / 0.859 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/1.269, allocations: 23.59 kB / 0.859 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/1.269, allocations: 12.3 kB / 0.859 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.269, allocations: 5.188 kB / 0.859 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/1.271, allocations: 1.289 MB / 0.8603 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/1.272, allocations: 261.4 kB / 0.8605 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.272, allocations: 18.81 kB / 0.8606 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008629/1.273, allocations: 103.8 kB / 0.8607 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/1.273, allocations: 44.28 kB / 0.8607 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/1.273, allocations: 27.86 kB / 0.8607 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008298/1.274, allocations: 0.5851 MB / 0.8613 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/1.274, allocations: 4.719 kB / 0.8613 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001348/1.275, allocations: 0.5342 MB / 0.8618 GB, free: 12 MB / 0.6387 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.0004813/1.275, allocations: 243.7 kB / 0.8621 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.277, allocations: 0.9733 MB / 0.863 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.277, allocations: 320 / 0.863 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/1.278, allocations: 351.5 kB / 0.8633 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/1.281, allocations: 0.6228 MB / 0.864 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/1.285, allocations: 2.646 MB / 0.8665 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/1.285, allocations: 1.131 MB / 0.8676 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00111/1.287, allocations: 296.9 kB / 0.8679 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/1.287, allocations: 78.58 kB / 0.868 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of SimCode: time 7.62e-07/1.287, allocations: 4 kB / 0.868 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of Templates: time 0.02984/1.317, allocations: 19.7 MB / 0.8872 GB, free: 1.258 MB / 0.6387 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)