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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_IDEAS_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.001545/0.001545, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001929/0.00193, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.421/2.421, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.1/1.1, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003858, allocations: 9.594 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.87/0.8704, allocations: 81.57 MB / 0.583 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3754/1.246, allocations: 157.6 MB / 0.7369 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01422/1.26, allocations: 4.134 MB / 0.7409 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/1.264, allocations: 23.81 kB / 0.741 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003817/1.267, allocations: 465.7 kB / 0.7414 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01142/1.279, allocations: 1.476 MB / 0.7429 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006077/1.285, allocations: 0.9075 MB / 0.7437 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00634/1.291, allocations: 1.294 MB / 0.745 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003482/1.295, allocations: 0.8717 MB / 0.7459 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/1.299, allocations: 0.8372 MB / 0.7467 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/1.302, allocations: 0.6499 MB / 0.7473 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008853/1.303, allocations: 56 kB / 0.7474 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005149/1.308, allocations: 0.6591 MB / 0.748 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001543/1.31, allocations: 315 kB / 0.7483 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001604/1.311, allocations: 221.1 kB / 0.7485 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005239/1.317, allocations: 1.414 MB / 0.7499 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.317, allocations: 0 / 0.7499 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.868e-06/1.317, allocations: 3.938 kB / 0.7499 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001096/1.317, allocations: 0 / 0.7499 GB, free: 5.137 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.009047/1.326, allocations: 1.487 MB / 0.7514 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.161e-05/1.326, allocations: 12.03 kB / 0.7514 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005286/1.327, allocations: 90.45 kB / 0.7514 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/1.329, allocations: 178.5 kB / 0.7516 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/1.333, allocations: 1.011 MB / 0.7526 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/1.333, allocations: 48.98 kB / 0.7527 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/1.334, allocations: 59.98 kB / 0.7527 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/1.336, allocations: 0.6193 MB / 0.7533 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/1.336, allocations: 0 / 0.7533 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/1.336, allocations: 20 kB / 0.7533 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/1.336, allocations: 17 kB / 0.7533 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/1.339, allocations: 0.6441 MB / 0.754 GB, free: 0.8398 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.0104/1.349, allocations: 2.669 MB / 0.7566 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/1.351, allocations: 0.5686 MB / 0.7571 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/1.352, allocations: 23.97 kB / 0.7572 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/1.352, allocations: 31.28 kB / 0.7572 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001942/1.354, allocations: 163.5 kB / 0.7573 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.541e-05/1.354, allocations: 0 / 0.7573 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.005095/1.359, allocations: 1.055 MB / 0.7584 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.839e-05/1.359, allocations: 63.39 kB / 0.7584 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/1.364, allocations: 1.259 MB / 0.7597 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003279/1.364, allocations: 37.7 kB / 0.7597 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008666/1.365, allocations: 441.7 kB / 0.7601 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/1.365, allocations: 145.8 kB / 0.7603 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/1.365, allocations: 12 kB / 0.7603 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002895/1.366, allocations: 322 kB / 0.7606 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/1.367, allocations: 268.6 kB / 0.7608 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/1.368, allocations: 484.6 kB / 0.7613 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.369, allocations: 325 kB / 0.7616 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.369, allocations: 0 / 0.7616 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003379/1.373, allocations: 0.7493 MB / 0.7623 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/1.373, allocations: 109.2 kB / 0.7624 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.373, allocations: 0 / 0.7624 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.312e-05/1.373, allocations: 4 kB / 0.7625 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.375, allocations: 127.8 kB / 0.7626 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/1.375, allocations: 0 / 0.7626 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/1.378, allocations: 131.1 kB / 0.7627 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.378, allocations: 19.98 kB / 0.7627 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.378, allocations: 4 kB / 0.7627 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002781/1.381, allocations: 0.6281 MB / 0.7633 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.381, allocations: 3.984 kB / 0.7633 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.381, allocations: 4 kB / 0.7633 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.382, allocations: 127.8 kB / 0.7635 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.441e-05/1.382, allocations: 7.953 kB / 0.7635 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/1.385, allocations: 122.7 kB / 0.7636 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.385, allocations: 27.97 kB / 0.7636 GB, free: 6.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001316/1.387, allocations: 328.9 kB / 0.7639 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000936/1.388, allocations: 98.78 kB / 0.764 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003556/1.391, allocations: 0.8266 MB / 0.7648 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.391, allocations: 4 kB / 0.7648 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.391, allocations: 3.953 kB / 0.7648 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.391, allocations: 3.984 kB / 0.7648 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007331/1.399, allocations: 1.982 MB / 0.7668 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.399, allocations: 8 kB / 0.7668 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.4, allocations: 115.8 kB / 0.7669 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.624e-05/1.4, allocations: 8.281 kB / 0.7669 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.905e-05/1.4, allocations: 19.98 kB / 0.7669 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/1.4, allocations: 4 kB / 0.7669 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.4, allocations: 0 / 0.7669 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00485/1.405, allocations: 1.379 MB / 0.7683 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.406, allocations: 287.7 kB / 0.7685 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000815/1.407, allocations: 15.98 kB / 0.7686 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002273/1.41, allocations: 83.81 kB / 0.7686 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/1.41, allocations: 47.84 kB / 0.7687 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.672e-05/1.41, allocations: 19.98 kB / 0.7687 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003533/1.414, allocations: 0.913 MB / 0.7696 GB, free: 332 kB / 0.5919 GB Notification: Performance of sort global known variables: time 4.51e-07/1.414, allocations: 0 / 0.7696 GB, free: 332 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003696/1.417, allocations: 403.4 kB / 0.77 GB, free: 15.93 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00665/1.424, allocations: 2.653 MB / 0.7726 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003783/1.428, allocations: 0.959 MB / 0.7735 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/1.428, allocations: 4 kB / 0.7735 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/1.429, allocations: 352.1 kB / 0.7739 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.434, allocations: 455.8 kB / 0.7743 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.462, allocations: 6.679 MB / 0.7808 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.463, allocations: 1.065 MB / 0.7818 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002831/1.466, allocations: 287.1 kB / 0.7821 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/1.467, allocations: 391.3 kB / 0.7825 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of SimCode: time 1.844e-06/1.468, allocations: 0 / 0.7825 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.572, allocations: 28.92 MB / 0.8107 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003733/1.572, allocations: 209.7 kB / 0.8109 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.579/6.151, allocations: 4 kB / 0.8109 GB, free: 6.066 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: