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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003809/0.00381, allocations: 103 kB / 15.88 MB, free: 6.32 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.001128/0.001128, allocations: 198.7 kB / 16.79 MB, free: 6.246 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.179/1.179, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6131/0.6131, allocations: 115.3 MB / 405.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 68.06 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3776/0.4963, allocations: 187.4 MB / 0.7389 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005839/0.5022, allocations: 4.315 MB / 0.7431 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.5026, allocations: 31.75 kB / 0.7431 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000985/0.5036, allocations: 417.6 kB / 0.7435 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.5061, allocations: 1.463 MB / 0.7449 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.5085, allocations: 1.228 MB / 0.7461 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.5107, allocations: 2.782 MB / 0.7489 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009655/0.5117, allocations: 0.9227 MB / 0.7498 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009291/0.5127, allocations: 0.8365 MB / 0.7506 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008175/0.5135, allocations: 0.8443 MB / 0.7514 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.5137, allocations: 68 kB / 0.7515 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.5155, allocations: 1.368 MB / 0.7528 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.5159, allocations: 354.7 kB / 0.7531 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.5164, allocations: 0.575 MB / 0.7537 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.5181, allocations: 1.982 MB / 0.7556 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5181, allocations: 4 kB / 0.7556 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5181, allocations: 4 kB / 0.7557 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.5181, allocations: 0 / 0.7557 GB, free: 10.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.003862/0.522, allocations: 1.717 MB / 0.7573 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.522, allocations: 12.03 kB / 0.7573 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.788e-05/0.5221, allocations: 86.52 kB / 0.7574 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00074/0.5229, allocations: 190.4 kB / 0.7576 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.5244, allocations: 1.045 MB / 0.7586 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.5245, allocations: 52.92 kB / 0.7587 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.5246, allocations: 59.91 kB / 0.7587 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.5257, allocations: 0.6115 MB / 0.7593 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5257, allocations: 0 / 0.7593 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.5258, allocations: 16 kB / 0.7593 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.5258, allocations: 21 kB / 0.7594 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.527, allocations: 0.6284 MB / 0.76 GB, free: 5.609 MB / 0.5762 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.003479/0.5305, allocations: 2.662 MB / 0.7626 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.5315, allocations: 0.5374 MB / 0.7631 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.5321, allocations: 350.7 kB / 0.7634 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.5325, allocations: 299.2 kB / 0.7637 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5325, allocations: 34.56 kB / 0.7638 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006242/0.5332, allocations: 163.5 kB / 0.7639 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.5332, allocations: 0 / 0.7639 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00212/0.5353, allocations: 1.02 MB / 0.7649 GB, free: 348 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.5353, allocations: 59.41 kB / 0.765 GB, free: 276 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.537, allocations: 1.271 MB / 0.7662 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.5371, allocations: 37.7 kB / 0.7662 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.5374, allocations: 437.6 kB / 0.7667 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.5375, allocations: 149.8 kB / 0.7668 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.5377, allocations: 114 kB / 0.7669 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.5378, allocations: 322 kB / 0.7672 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.5384, allocations: 278.1 kB / 0.7675 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007234/0.5391, allocations: 477.4 kB / 0.7679 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.5402, allocations: 0.5922 MB / 0.7685 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5402, allocations: 0 / 0.7685 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001396/0.5416, allocations: 0.7417 MB / 0.7692 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5417, allocations: 4 kB / 0.7692 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5417, allocations: 4 kB / 0.7692 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.5417, allocations: 0 / 0.7692 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.5423, allocations: 127.8 kB / 0.7694 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5423, allocations: 4 kB / 0.7694 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.5435, allocations: 105.8 kB / 0.7695 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.5435, allocations: 23.97 kB / 0.7695 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007221/0.5443, allocations: 465.4 kB / 0.7699 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006873/0.545, allocations: 497.9 kB / 0.7704 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001042/0.546, allocations: 0.576 MB / 0.771 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.546, allocations: 0 / 0.771 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001371/0.5474, allocations: 0.7343 MB / 0.7717 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.5474, allocations: 4 kB / 0.7717 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.5474, allocations: 0 / 0.7717 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/0.5474, allocations: 8 kB / 0.7717 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.548, allocations: 119.8 kB / 0.7718 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.5481, allocations: 0 / 0.7718 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.5493, allocations: 136.9 kB / 0.772 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.5494, allocations: 23.97 kB / 0.772 GB, free: 8.867 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.0001524/0.5495, allocations: 216.1 kB / 0.7722 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.5497, allocations: 98.78 kB / 0.7723 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.5513, allocations: 0.8147 MB / 0.7731 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.5513, allocations: 4 kB / 0.7731 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5513, allocations: 3.938 kB / 0.7731 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5513, allocations: 0 / 0.7731 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.554, allocations: 1.96 MB / 0.775 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.554, allocations: 4 kB / 0.775 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.5546, allocations: 103.8 kB / 0.7751 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.5546, allocations: 15.94 kB / 0.7751 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.5546, allocations: 16.27 kB / 0.7751 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.5546, allocations: 4 kB / 0.7751 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5546, allocations: 4 kB / 0.7751 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.5566, allocations: 1.23 MB / 0.7763 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.5569, allocations: 287.7 kB / 0.7766 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.5571, allocations: 19.92 kB / 0.7766 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/0.5581, allocations: 71.88 kB / 0.7767 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5582, allocations: 43.89 kB / 0.7767 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.5582, allocations: 20 kB / 0.7768 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001248/0.5595, allocations: 0.9208 MB / 0.7777 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5595, allocations: 0 / 0.7777 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009761/0.5605, allocations: 407.4 kB / 0.778 GB, free: 2.477 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.002464/0.5629, allocations: 1.883 MB / 0.7799 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.5647, allocations: 0.9395 MB / 0.7808 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5647, allocations: 4 kB / 0.7808 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.5653, allocations: 340.1 kB / 0.7811 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.5673, allocations: 461 kB / 0.7816 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.5811, allocations: 9.214 MB / 0.7906 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.5816, allocations: 1.053 MB / 0.7916 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00109/0.5827, allocations: 295 kB / 0.7919 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.5833, allocations: 383.3 kB / 0.7922 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.5833, allocations: 0 / 0.7922 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.625, allocations: 29.13 MB / 0.8207 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.6252, allocations: 246 kB / 0.8209 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.91, allocations: 0 / 0.8209 GB, free: 6.547 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)