Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00556/0.00556, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001193/0.001193, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8051/0.8051, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.06 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1888, allocations: 80.2 MB / 0.6597 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6522/0.841, allocations: 189.7 MB / 0.8449 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008787/0.8499, allocations: 4.281 MB / 0.8491 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.8522, allocations: 28.66 kB / 0.8491 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.854, allocations: 0.5164 MB / 0.8496 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005399/0.8594, allocations: 1.63 MB / 0.8512 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.8638, allocations: 1.355 MB / 0.8525 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004212/0.8681, allocations: 2.275 MB / 0.8547 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.8702, allocations: 1.073 MB / 0.8558 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.8722, allocations: 0.9715 MB / 0.8567 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.8735, allocations: 0.8734 MB / 0.8576 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.8737, allocations: 138 kB / 0.8577 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.8769, allocations: 1.246 MB / 0.8589 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004272/0.8773, allocations: 434.8 kB / 0.8594 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006321/0.8779, allocations: 0.6428 MB / 0.86 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.8806, allocations: 1.981 MB / 0.8619 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.8806, allocations: 0.9375 kB / 0.8619 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.796e-06/0.8806, allocations: 0 / 0.8619 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.8807, allocations: 0 / 0.8619 GB, free: 2.66 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00389/0.8846, allocations: 1.729 MB / 0.8636 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.8846, allocations: 11.12 kB / 0.8636 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008/0.8854, allocations: 189.2 kB / 0.8638 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.887, allocations: 1.066 MB / 0.8648 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.887, allocations: 46.91 kB / 0.8649 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.8872, allocations: 56.5 kB / 0.8649 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.8882, allocations: 0.6168 MB / 0.8655 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.8882, allocations: 0 / 0.8655 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.8883, allocations: 17.44 kB / 0.8656 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.8883, allocations: 20.75 kB / 0.8656 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.8895, allocations: 0.6218 MB / 0.8662 GB, free: 1.355 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.00339/0.8929, allocations: 2.666 MB / 0.8688 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.894, allocations: 0.536 MB / 0.8693 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.8945, allocations: 347.6 kB / 0.8696 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/0.8949, allocations: 292.3 kB / 0.8699 GB, free: 232 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.8949, allocations: 42.53 kB / 0.87 GB, free: 188 kB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005452/0.8954, allocations: 139 kB / 0.8701 GB, free: 164 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.8955, allocations: 3.969 kB / 0.8701 GB, free: 164 kB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002206/0.8977, allocations: 1.016 MB / 0.8711 GB, free: 72 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.8977, allocations: 60.41 kB / 0.8711 GB, free: 4 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.8996, allocations: 1.275 MB / 0.8724 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/0.8996, allocations: 38.42 kB / 0.8724 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.9, allocations: 439 kB / 0.8729 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.9001, allocations: 146.2 kB / 0.873 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.9003, allocations: 118 kB / 0.8731 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9004, allocations: 321.4 kB / 0.8734 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.901, allocations: 273.3 kB / 0.8737 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.9017, allocations: 488.1 kB / 0.8741 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.9027, allocations: 0.5833 MB / 0.8747 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9028, allocations: 3.938 kB / 0.8747 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001354/0.9041, allocations: 0.7447 MB / 0.8754 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9041, allocations: 7 kB / 0.8754 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9042, allocations: 0.75 kB / 0.8754 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.9042, allocations: 4.125 kB / 0.8754 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.9048, allocations: 123.2 kB / 0.8756 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.9048, allocations: 3.594 kB / 0.8756 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.9059, allocations: 93.62 kB / 0.8757 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.906, allocations: 24.78 kB / 0.8757 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007902/0.9068, allocations: 468.8 kB / 0.8761 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007489/0.9076, allocations: 487.6 kB / 0.8766 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/0.9087, allocations: 0.582 MB / 0.8772 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.9087, allocations: 0.9062 kB / 0.8772 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001395/0.9101, allocations: 0.7281 MB / 0.8779 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.9101, allocations: 7.891 kB / 0.8779 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.9101, allocations: 0.8438 kB / 0.8779 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.9101, allocations: 5.922 kB / 0.8779 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.9107, allocations: 120.9 kB / 0.878 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.9107, allocations: 6.031 kB / 0.878 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.912, allocations: 123.5 kB / 0.8781 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.9121, allocations: 29.44 kB / 0.8782 GB, free: 14.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 45 * 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.0002217/0.9123, allocations: 210.5 kB / 0.8784 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.9125, allocations: 103.9 kB / 0.8785 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.9141, allocations: 0.8095 MB / 0.8792 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.9141, allocations: 9.281 kB / 0.8793 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.9141, allocations: 8.031 kB / 0.8793 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.9142, allocations: 3 kB / 0.8793 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.9171, allocations: 1.95 MB / 0.8812 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.9172, allocations: 2.594 kB / 0.8812 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.9177, allocations: 110.5 kB / 0.8813 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.9177, allocations: 2.781 kB / 0.8813 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.9177, allocations: 13.89 kB / 0.8813 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.9177, allocations: 3.406 kB / 0.8813 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.9178, allocations: 7.266 kB / 0.8813 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.9198, allocations: 1.238 MB / 0.8825 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.9202, allocations: 287.9 kB / 0.8828 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.9203, allocations: 16.5 kB / 0.8828 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.9213, allocations: 67.77 kB / 0.8829 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.9214, allocations: 39.47 kB / 0.8829 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.9214, allocations: 20.67 kB / 0.8829 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001382/0.9228, allocations: 0.9271 MB / 0.8838 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9228, allocations: 0.7812 kB / 0.8838 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001089/0.9239, allocations: 400.4 kB / 0.8842 GB, free: 11.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.0004825/0.9244, allocations: 224.3 kB / 0.8844 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.9264, allocations: 0.9461 MB / 0.8853 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9264, allocations: 0 / 0.8853 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/0.927, allocations: 337.7 kB / 0.8857 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.9291, allocations: 420.5 kB / 0.8861 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.932, allocations: 1.686 MB / 0.8877 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/0.9328, allocations: 1.045 MB / 0.8887 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001087/0.9339, allocations: 288.9 kB / 0.889 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/0.9343, allocations: 97.84 kB / 0.8891 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of SimCode: time 1.112e-06/0.9343, allocations: 3.938 kB / 0.8891 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.04049/0.9748, allocations: 21.39 MB / 0.91 GB, free: 8.414 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)