Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001075/0.001075, allocations: 111.4 kB / 17.04 MB, free: 6.078 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.001085/0.001085, allocations: 195 kB / 17.98 MB, free: 5.16 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7315/0.7315, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3664, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2078/0.5743, allocations: 189.7 MB / 0.7428 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007518/0.5819, allocations: 4.277 MB / 0.747 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.5831, allocations: 27.81 kB / 0.747 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.5844, allocations: 0.5045 MB / 0.7475 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3626/0.947, allocations: 1.562 MB / 0.749 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004203/0.9513, allocations: 1.348 MB / 0.7503 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.9548, allocations: 2.259 MB / 0.7525 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.9567, allocations: 1.083 MB / 0.7536 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.9589, allocations: 0.9488 MB / 0.7545 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.9606, allocations: 0.8718 MB / 0.7554 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.961, allocations: 140 kB / 0.7555 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.9638, allocations: 1.24 MB / 0.7567 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000645/0.9644, allocations: 425.2 kB / 0.7571 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.9655, allocations: 0.6497 MB / 0.7578 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.969, allocations: 1.977 MB / 0.7597 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9691, allocations: 1.844 kB / 0.7597 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9691, allocations: 0 / 0.7597 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.9691, allocations: 4.109 kB / 0.7597 GB, free: 2.824 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.005051/0.9742, allocations: 1.72 MB / 0.7614 GB, free: 18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.9742, allocations: 10.12 kB / 0.7614 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.9752, allocations: 184.4 kB / 0.7616 GB, free: 17.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.9774, allocations: 1.072 MB / 0.7626 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.9775, allocations: 44.38 kB / 0.7626 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.9776, allocations: 62.53 kB / 0.7627 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.9789, allocations: 0.6125 MB / 0.7633 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.9789, allocations: 0.7812 kB / 0.7633 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.979, allocations: 17.53 kB / 0.7633 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.979, allocations: 22.12 kB / 0.7633 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.9804, allocations: 0.629 MB / 0.764 GB, free: 17.54 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.004612/0.985, allocations: 2.655 MB / 0.7665 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.9861, allocations: 0.5412 MB / 0.7671 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.9868, allocations: 351.2 kB / 0.7674 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/0.9872, allocations: 291.7 kB / 0.7677 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.9873, allocations: 41.62 kB / 0.7677 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008224/0.9881, allocations: 141 kB / 0.7679 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.687e-06/0.9881, allocations: 2.094 kB / 0.7679 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002454/0.9906, allocations: 1.015 MB / 0.7689 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.9906, allocations: 56.78 kB / 0.7689 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.9931, allocations: 1.278 MB / 0.7702 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.9933, allocations: 37.58 kB / 0.7702 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.9936, allocations: 442 kB / 0.7706 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.9937, allocations: 147.4 kB / 0.7708 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/0.994, allocations: 120.5 kB / 0.7709 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.9941, allocations: 320.8 kB / 0.7712 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.9947, allocations: 274.2 kB / 0.7714 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007817/0.9955, allocations: 488.8 kB / 0.7719 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.9967, allocations: 0.5849 MB / 0.7725 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9967, allocations: 1.375 kB / 0.7725 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001801/0.9985, allocations: 0.7417 MB / 0.7732 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.9986, allocations: 6.969 kB / 0.7732 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.9986, allocations: 0 / 0.7732 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9986, allocations: 2.656 kB / 0.7732 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.9993, allocations: 129.1 kB / 0.7733 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.9993, allocations: 2.031 kB / 0.7733 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.001, allocations: 97.61 kB / 0.7734 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/1.001, allocations: 20.95 kB / 0.7735 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009835/1.002, allocations: 468.6 kB / 0.7739 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007726/1.003, allocations: 490.7 kB / 0.7744 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001164/1.004, allocations: 0.5734 MB / 0.7749 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/1.004, allocations: 1.172 kB / 0.7749 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00171/1.006, allocations: 0.7381 MB / 0.7756 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.006, allocations: 10.97 kB / 0.7757 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.006, allocations: 0 / 0.7757 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/1.006, allocations: 2.562 kB / 0.7757 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/1.006, allocations: 121 kB / 0.7758 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.006, allocations: 5.078 kB / 0.7758 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.008, allocations: 129.3 kB / 0.7759 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/1.008, allocations: 22.42 kB / 0.7759 GB, free: 14.75 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.000296/1.009, allocations: 206.4 kB / 0.7761 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/1.009, allocations: 106.6 kB / 0.7762 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/1.011, allocations: 0.8035 MB / 0.777 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.011, allocations: 5.938 kB / 0.777 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.011, allocations: 0.875 kB / 0.777 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.011, allocations: 2.859 kB / 0.777 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/1.015, allocations: 1.96 MB / 0.7789 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.015, allocations: 8.734 kB / 0.7789 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/1.016, allocations: 105.3 kB / 0.779 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/1.016, allocations: 4.812 kB / 0.779 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/1.016, allocations: 18.7 kB / 0.7791 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/1.016, allocations: 6.438 kB / 0.7791 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.016, allocations: 6.438 kB / 0.7791 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/1.018, allocations: 1.227 MB / 0.7803 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/1.019, allocations: 293.7 kB / 0.7806 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.019, allocations: 15.27 kB / 0.7806 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.021, allocations: 65.22 kB / 0.7806 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.021, allocations: 44.59 kB / 0.7807 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/1.021, allocations: 21.33 kB / 0.7807 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001609/1.022, allocations: 0.9211 MB / 0.7816 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.4e-07/1.022, allocations: 1.031 kB / 0.7816 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001844/1.024, allocations: 402.4 kB / 0.782 GB, free: 13.49 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.0005614/1.025, allocations: 224.4 kB / 0.7822 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002921/1.028, allocations: 0.9424 MB / 0.7831 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.028, allocations: 0 / 0.7831 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.029, allocations: 336.9 kB / 0.7834 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.033, allocations: 436 kB / 0.7838 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/1.038, allocations: 1.68 MB / 0.7855 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.039, allocations: 1.051 MB / 0.7865 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002281/1.042, allocations: 285.8 kB / 0.7868 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/1.042, allocations: 96.19 kB / 0.7869 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of SimCode: time 1.273e-06/1.042, allocations: 0.875 kB / 0.7869 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of Templates: time 0.06459/1.107, allocations: 21.27 MB / 0.8076 GB, free: 4.605 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)