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.004982/0.004982, allocations: 102 kB / 15.73 MB, free: 6 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.001175/0.001175, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7743/0.7743, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001136, allocations: 58.31 kB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1462, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5201/0.6663, allocations: 189.7 MB / 0.8444 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007897/0.6743, allocations: 4.278 MB / 0.8486 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.6759, allocations: 27.22 kB / 0.8486 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.6776, allocations: 0.5032 MB / 0.8491 GB, free: 20 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.6818, allocations: 1.565 MB / 0.8506 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.6854, allocations: 1.346 MB / 0.852 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003036/0.6885, allocations: 2.268 MB / 0.8542 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.6902, allocations: 1.086 MB / 0.8552 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.6922, allocations: 0.9555 MB / 0.8562 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.6938, allocations: 0.875 MB / 0.857 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000475/0.6943, allocations: 140.7 kB / 0.8571 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.697, allocations: 1.243 MB / 0.8584 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.6977, allocations: 423.8 kB / 0.8588 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.6989, allocations: 0.6434 MB / 0.8594 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.702, allocations: 1.982 MB / 0.8613 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.702, allocations: 0 / 0.8613 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.004e-06/0.702, allocations: 0 / 0.8613 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.94e-05/0.7021, allocations: 4 kB / 0.8613 GB, free: 7.172 MB / 0.6231 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.005006/0.7071, allocations: 1.728 MB / 0.863 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7072, allocations: 12.03 kB / 0.863 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.7073, allocations: 86.52 kB / 0.8631 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.7083, allocations: 186.4 kB / 0.8633 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.7111, allocations: 1.072 MB / 0.8643 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.7111, allocations: 41 kB / 0.8644 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.7113, allocations: 67.89 kB / 0.8644 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.7125, allocations: 0.6114 MB / 0.865 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.7126, allocations: 0 / 0.865 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.7126, allocations: 16 kB / 0.8651 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/0.7127, allocations: 25 kB / 0.8651 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.714, allocations: 0.6284 MB / 0.8657 GB, free: 2.586 MB / 0.6231 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.00452/0.7185, allocations: 2.646 MB / 0.8683 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.7196, allocations: 0.5461 MB / 0.8688 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/0.7202, allocations: 348.6 kB / 0.8691 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/0.7206, allocations: 291.3 kB / 0.8694 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.7207, allocations: 38.5 kB / 0.8695 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007156/0.7214, allocations: 139.5 kB / 0.8696 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 4.589e-06/0.7214, allocations: 0 / 0.8696 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002307/0.7237, allocations: 1.028 MB / 0.8706 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.7238, allocations: 55.41 kB / 0.8706 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.7258, allocations: 1.275 MB / 0.8719 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.7259, allocations: 37.7 kB / 0.8719 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.7263, allocations: 437.7 kB / 0.8723 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.7264, allocations: 145.8 kB / 0.8725 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.7266, allocations: 122 kB / 0.8726 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7267, allocations: 318 kB / 0.8729 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.7273, allocations: 274.2 kB / 0.8732 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.728, allocations: 493.9 kB / 0.8736 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.7291, allocations: 0.5832 MB / 0.8742 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7291, allocations: 0 / 0.8742 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001498/0.7306, allocations: 0.7453 MB / 0.8749 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.7307, allocations: 9.859 kB / 0.8749 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.7307, allocations: 0 / 0.8749 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.7307, allocations: 4 kB / 0.8749 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.7314, allocations: 119.8 kB / 0.8751 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.7314, allocations: 0 / 0.8751 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.7326, allocations: 95.86 kB / 0.8752 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.7327, allocations: 27.91 kB / 0.8752 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007817/0.7335, allocations: 467.9 kB / 0.8756 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007009/0.7342, allocations: 487.5 kB / 0.8761 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001035/0.7353, allocations: 0.5915 MB / 0.8767 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.185e-06/0.7353, allocations: 0 / 0.8767 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001499/0.7368, allocations: 0.7227 MB / 0.8774 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7368, allocations: 8 kB / 0.8774 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.7368, allocations: 3.984 kB / 0.8774 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/0.7368, allocations: 7.938 kB / 0.8774 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.7374, allocations: 119.8 kB / 0.8775 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.7375, allocations: 7.938 kB / 0.8775 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.7389, allocations: 123.5 kB / 0.8776 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.7389, allocations: 23.97 kB / 0.8777 GB, free: 5.875 MB / 0.6387 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.0002082/0.7391, allocations: 208.1 kB / 0.8779 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.7394, allocations: 98.78 kB / 0.8779 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.7411, allocations: 0.8097 MB / 0.8787 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.7411, allocations: 7.625 kB / 0.8787 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7412, allocations: 0 / 0.8787 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.7412, allocations: 7.922 kB / 0.8788 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.7443, allocations: 1.946 MB / 0.8807 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7443, allocations: 4 kB / 0.8807 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.7449, allocations: 108.1 kB / 0.8808 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.7449, allocations: 11.94 kB / 0.8808 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.7449, allocations: 12 kB / 0.8808 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.7449, allocations: 11.98 kB / 0.8808 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.745, allocations: 3.938 kB / 0.8808 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.7469, allocations: 1.233 MB / 0.882 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.7474, allocations: 291.7 kB / 0.8823 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.7476, allocations: 19.94 kB / 0.8823 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009932/0.7486, allocations: 59.97 kB / 0.8824 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.7488, allocations: 39.95 kB / 0.8824 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.7488, allocations: 16 kB / 0.8824 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001407/0.7502, allocations: 0.9247 MB / 0.8833 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.353e-06/0.7502, allocations: 0 / 0.8833 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001205/0.7514, allocations: 419.3 kB / 0.8837 GB, free: 15.51 MB / 0.6544 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.002596/0.754, allocations: 1.888 MB / 0.8856 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.756, allocations: 0.9433 MB / 0.8865 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.756, allocations: 0 / 0.8865 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.7566, allocations: 340.1 kB / 0.8868 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.759, allocations: 442.5 kB / 0.8872 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.7725, allocations: 8.479 MB / 0.8955 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.7732, allocations: 1.041 MB / 0.8965 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001085/0.7743, allocations: 291 kB / 0.8968 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/0.775, allocations: 391.3 kB / 0.8972 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.775, allocations: 0 / 0.8972 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05752/0.8325, allocations: 30.74 MB / 0.9272 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.019/9.852, allocations: 2.188 kB / 0.9272 GB, free: 3.066 MB / 0.6856 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/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)