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.001333/0.001333, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9315/0.9315, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 55.38 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 80.94 MB / 0.5844 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5107/0.6786, allocations: 187.4 MB / 0.7674 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007803/0.6864, allocations: 4.302 MB / 0.7716 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.6881, allocations: 27.81 kB / 0.7716 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.6897, allocations: 421.6 kB / 0.772 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.694, allocations: 1.464 MB / 0.7734 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.6976, allocations: 1.231 MB / 0.7746 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.7012, allocations: 2.772 MB / 0.7774 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.7026, allocations: 0.9343 MB / 0.7783 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.7041, allocations: 0.8365 MB / 0.7791 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.7052, allocations: 0.8365 MB / 0.7799 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.7054, allocations: 68 kB / 0.78 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.708, allocations: 1.372 MB / 0.7813 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.7084, allocations: 354.7 kB / 0.7816 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006818/0.7091, allocations: 0.575 MB / 0.7822 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.7109, allocations: 1.516 MB / 0.7837 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.7109, allocations: 4 kB / 0.7837 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7109, allocations: 0 / 0.7837 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.7109, allocations: 0 / 0.7837 GB, free: 1.266 MB / 0.5919 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.004511/0.7154, allocations: 1.728 MB / 0.7854 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7155, allocations: 8.031 kB / 0.7854 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000893/0.7164, allocations: 190.5 kB / 0.7856 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.7182, allocations: 1.041 MB / 0.7866 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.7183, allocations: 52.92 kB / 0.7866 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.7184, allocations: 64 kB / 0.7867 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.7197, allocations: 0.6114 MB / 0.7873 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.7197, allocations: 4 kB / 0.7873 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.7198, allocations: 16 kB / 0.7873 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.7198, allocations: 17 kB / 0.7873 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.7212, allocations: 0.6285 MB / 0.7879 GB, free: 12.8 MB / 0.6075 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.004241/0.7254, allocations: 2.658 MB / 0.7905 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.7266, allocations: 0.5373 MB / 0.7911 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/0.7272, allocations: 354.2 kB / 0.7914 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004282/0.7277, allocations: 287.3 kB / 0.7917 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.7277, allocations: 42.52 kB / 0.7917 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007554/0.7285, allocations: 159.5 kB / 0.7919 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/0.7285, allocations: 0 / 0.7919 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.00241/0.7309, allocations: 1.021 MB / 0.7929 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.731, allocations: 63.34 kB / 0.7929 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.733, allocations: 1.267 MB / 0.7942 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.7331, allocations: 41.7 kB / 0.7942 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.7335, allocations: 429.7 kB / 0.7946 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.7336, allocations: 145.8 kB / 0.7947 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.7338, allocations: 125.9 kB / 0.7949 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.734, allocations: 325.9 kB / 0.7952 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.7346, allocations: 270.2 kB / 0.7954 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008634/0.7354, allocations: 485.3 kB / 0.7959 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.7366, allocations: 0.5802 MB / 0.7965 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7367, allocations: 4 kB / 0.7965 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00154/0.7382, allocations: 0.734 MB / 0.7972 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.7382, allocations: 10.19 kB / 0.7972 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7383, allocations: 0 / 0.7972 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7383, allocations: 0 / 0.7972 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.7389, allocations: 127.8 kB / 0.7973 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.739, allocations: 7.203 kB / 0.7973 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.7403, allocations: 107.2 kB / 0.7974 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.7404, allocations: 27.91 kB / 0.7975 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008433/0.7412, allocations: 471.8 kB / 0.7979 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007578/0.742, allocations: 487.2 kB / 0.7984 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001123/0.7431, allocations: 0.5888 MB / 0.7989 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.7431, allocations: 3.938 kB / 0.7989 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001546/0.7447, allocations: 0.7304 MB / 0.7997 GB, free: 360 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7447, allocations: 8 kB / 0.7997 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.7447, allocations: 0 / 0.7997 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/0.7447, allocations: 0 / 0.7997 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/0.7453, allocations: 123.8 kB / 0.7998 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.7454, allocations: 0 / 0.7998 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.7468, allocations: 144.2 kB / 0.7999 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.7468, allocations: 23.97 kB / 0.7999 GB, free: 60 kB / 0.6075 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.0002439/0.7471, allocations: 208.1 kB / 0.8001 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.7473, allocations: 102.7 kB / 0.8002 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.7491, allocations: 0.7975 MB / 0.801 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.7491, allocations: 4 kB / 0.801 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7491, allocations: 3.984 kB / 0.801 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7491, allocations: 8 kB / 0.801 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.7523, allocations: 1.949 MB / 0.8029 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.7523, allocations: 7.938 kB / 0.8029 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.7529, allocations: 116.1 kB / 0.8031 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.7529, allocations: 7.938 kB / 0.8031 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.753, allocations: 15.98 kB / 0.8031 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.753, allocations: 4 kB / 0.8031 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.753, allocations: 3.938 kB / 0.8031 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.7551, allocations: 1.233 MB / 0.8043 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.7556, allocations: 295.5 kB / 0.8046 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.7558, allocations: 16 kB / 0.8046 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.7568, allocations: 67.97 kB / 0.8047 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7569, allocations: 43.94 kB / 0.8047 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.757, allocations: 20 kB / 0.8047 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001469/0.7584, allocations: 0.9208 MB / 0.8056 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7584, allocations: 0 / 0.8056 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001223/0.7597, allocations: 407.3 kB / 0.806 GB, free: 9.684 MB / 0.6231 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.0005248/0.7602, allocations: 217.1 kB / 0.8062 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.7622, allocations: 0.9357 MB / 0.8071 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7622, allocations: 4 kB / 0.8071 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.7629, allocations: 331.8 kB / 0.8074 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.7652, allocations: 464.8 kB / 0.8079 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.7681, allocations: 2.048 MB / 0.8099 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.7688, allocations: 1.045 MB / 0.8109 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.7692, allocations: 95.38 kB / 0.811 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.7692, allocations: 0 / 0.811 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of Templates: time 0.02691/0.7962, allocations: 16.39 MB / 0.827 GB, free: 4.258 MB / 0.6387 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)