Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001226/0.001226, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001196/0.001196, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8323/0.8323, allocations: 135.1 MB / 426.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.89 kB / 0.506 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3556, allocations: 80.9 MB / 0.585 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.519/0.8747, allocations: 189.7 MB / 0.7702 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007428/0.8822, allocations: 4.283 MB / 0.7744 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.8837, allocations: 28.16 kB / 0.7744 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.8851, allocations: 0.5029 MB / 0.7749 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.8894, allocations: 1.562 MB / 0.7765 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.8929, allocations: 1.332 MB / 0.7778 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003244/0.8962, allocations: 2.25 MB / 0.78 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.8978, allocations: 1.081 MB / 0.781 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.8995, allocations: 0.9572 MB / 0.7819 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.9007, allocations: 0.864 MB / 0.7828 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.9009, allocations: 140.9 kB / 0.7829 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.9034, allocations: 1.241 MB / 0.7841 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.9039, allocations: 416.5 kB / 0.7845 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007695/0.9047, allocations: 0.6497 MB / 0.7852 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.9074, allocations: 1.965 MB / 0.7871 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.9075, allocations: 0.875 kB / 0.7871 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9075, allocations: 0 / 0.7871 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.906e-05/0.9075, allocations: 0 / 0.7871 GB, free: 1.16 MB / 0.5762 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.004529/0.9121, allocations: 1.73 MB / 0.7888 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.9121, allocations: 8.422 kB / 0.7888 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009279/0.913, allocations: 190.1 kB / 0.789 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.9148, allocations: 1.03 MB / 0.79 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.915, allocations: 62.31 kB / 0.79 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.9151, allocations: 56.75 kB / 0.7901 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.9163, allocations: 0.6101 MB / 0.7907 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.9163, allocations: 0 / 0.7907 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.9164, allocations: 24.05 kB / 0.7907 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.9164, allocations: 16.69 kB / 0.7907 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.9176, allocations: 0.626 MB / 0.7913 GB, free: 15.86 MB / 0.5919 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.004121/0.9217, allocations: 2.666 MB / 0.7939 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.9228, allocations: 0.5361 MB / 0.7945 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.9234, allocations: 354.9 kB / 0.7948 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004245/0.9239, allocations: 291.6 kB / 0.7951 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.9239, allocations: 41.45 kB / 0.7951 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00077/0.9247, allocations: 137.5 kB / 0.7952 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.795e-06/0.9247, allocations: 0.75 kB / 0.7952 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002344/0.927, allocations: 1.023 MB / 0.7962 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.9271, allocations: 57.59 kB / 0.7963 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.9289, allocations: 1.272 MB / 0.7975 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.765e-05/0.9291, allocations: 37.36 kB / 0.7976 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.9294, allocations: 441.9 kB / 0.798 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.9295, allocations: 147 kB / 0.7981 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.9298, allocations: 122.8 kB / 0.7983 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9299, allocations: 319.1 kB / 0.7986 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.9304, allocations: 277.1 kB / 0.7988 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007636/0.9312, allocations: 487.6 kB / 0.7993 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.9323, allocations: 0.5854 MB / 0.7999 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9324, allocations: 3.938 kB / 0.7999 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001639/0.934, allocations: 0.7383 MB / 0.8006 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.934, allocations: 7.781 kB / 0.8006 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.934, allocations: 0 / 0.8006 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.9341, allocations: 2 kB / 0.8006 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.9347, allocations: 126.2 kB / 0.8007 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.9347, allocations: 1 kB / 0.8007 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.936, allocations: 88.25 kB / 0.8008 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.9361, allocations: 24.47 kB / 0.8008 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007917/0.9369, allocations: 466 kB / 0.8013 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007452/0.9377, allocations: 492.6 kB / 0.8017 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001125/0.9388, allocations: 0.5836 MB / 0.8023 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.9388, allocations: 0 / 0.8023 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001622/0.9404, allocations: 0.733 MB / 0.803 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.9405, allocations: 5.281 kB / 0.803 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9405, allocations: 3.344 kB / 0.803 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/0.9405, allocations: 1.5 kB / 0.803 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.9411, allocations: 123.4 kB / 0.8031 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.9411, allocations: 4.672 kB / 0.8032 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.9426, allocations: 127.7 kB / 0.8033 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.9427, allocations: 26.62 kB / 0.8033 GB, free: 13.04 MB / 0.5919 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.0002593/0.9429, allocations: 205.1 kB / 0.8035 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.9432, allocations: 108 kB / 0.8036 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.9449, allocations: 0.8007 MB / 0.8044 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.945, allocations: 11.09 kB / 0.8044 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.945, allocations: 4.875 kB / 0.8044 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.945, allocations: 2.578 kB / 0.8044 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.948, allocations: 1.949 MB / 0.8063 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.948, allocations: 2.406 kB / 0.8063 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.9486, allocations: 110.1 kB / 0.8064 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.9486, allocations: 7.25 kB / 0.8064 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.9487, allocations: 16.7 kB / 0.8064 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9487, allocations: 11.09 kB / 0.8064 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9487, allocations: 2.438 kB / 0.8064 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.9509, allocations: 1.237 MB / 0.8077 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/0.9514, allocations: 288.9 kB / 0.8079 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.9516, allocations: 18.83 kB / 0.8079 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009969/0.9526, allocations: 62.11 kB / 0.808 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.9527, allocations: 42.11 kB / 0.808 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.9528, allocations: 20.7 kB / 0.8081 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001333/0.9541, allocations: 0.9219 MB / 0.809 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9541, allocations: 0 / 0.809 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001164/0.9553, allocations: 406.6 kB / 0.8094 GB, free: 11.76 MB / 0.5919 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.0004565/0.9557, allocations: 215.4 kB / 0.8096 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002029/0.9578, allocations: 0.9993 MB / 0.8105 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9578, allocations: 3.344 kB / 0.8105 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.9584, allocations: 335.8 kB / 0.8109 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.9605, allocations: 435.1 kB / 0.8113 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.9631, allocations: 1.739 MB / 0.813 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.9637, allocations: 1.05 MB / 0.814 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.9642, allocations: 97.05 kB / 0.8141 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.9642, allocations: 0 / 0.8141 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.02448/0.9887, allocations: 16.22 MB / 0.8299 GB, free: 14.59 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)