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.007412/0.007412, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.001917/0.001917, allocations: 196.5 kB / 16.68 MB, free: 6.363 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7798/0.7798, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 63.31 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1812, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5537/0.7349, allocations: 189.7 MB / 0.8444 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006898/0.7418, allocations: 4.274 MB / 0.8486 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.7433, allocations: 29.72 kB / 0.8486 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.7446, allocations: 0.501 MB / 0.8491 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.7481, allocations: 1.569 MB / 0.8506 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.7513, allocations: 1.351 MB / 0.852 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.7537, allocations: 2.259 MB / 0.8542 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.7548, allocations: 1.083 MB / 0.8552 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.7564, allocations: 0.9546 MB / 0.8562 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.7576, allocations: 0.8699 MB / 0.857 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.7578, allocations: 139.2 kB / 0.8571 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.7603, allocations: 1.245 MB / 0.8584 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.7607, allocations: 422.8 kB / 0.8588 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.7613, allocations: 0.6476 MB / 0.8594 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.7636, allocations: 1.988 MB / 0.8613 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7636, allocations: 0 / 0.8613 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7636, allocations: 0 / 0.8613 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.202e-05/0.7636, allocations: 0.9688 kB / 0.8613 GB, free: 2.039 MB / 0.6387 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.003795/0.7674, allocations: 1.767 MB / 0.8631 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7675, allocations: 10.97 kB / 0.8631 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.7676, allocations: 89.64 kB / 0.8632 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.7684, allocations: 195.9 kB / 0.8633 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.77, allocations: 1.083 MB / 0.8644 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.7701, allocations: 41.91 kB / 0.8644 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/0.7702, allocations: 57.56 kB / 0.8645 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.7713, allocations: 0.6167 MB / 0.8651 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.7713, allocations: 0 / 0.8651 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.7714, allocations: 20.78 kB / 0.8651 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.7714, allocations: 16.91 kB / 0.8651 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.7728, allocations: 0.6288 MB / 0.8657 GB, free: 0.6289 MB / 0.6387 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.003811/0.7766, allocations: 2.661 MB / 0.8683 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.7777, allocations: 0.5422 MB / 0.8689 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.7783, allocations: 345.5 kB / 0.8692 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004869/0.7788, allocations: 293.9 kB / 0.8695 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.7789, allocations: 43.45 kB / 0.8695 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005734/0.7794, allocations: 147.8 kB / 0.8697 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.7795, allocations: 1.031 kB / 0.8697 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.002412/0.7819, allocations: 1.026 MB / 0.8707 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.7819, allocations: 53.53 kB / 0.8707 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.7841, allocations: 1.274 MB / 0.872 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.675e-05/0.7842, allocations: 37.77 kB / 0.872 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/0.7847, allocations: 439.5 kB / 0.8724 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.7848, allocations: 164.5 kB / 0.8726 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.7851, allocations: 118.4 kB / 0.8727 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7853, allocations: 324.7 kB / 0.873 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.7859, allocations: 271.6 kB / 0.8733 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.7868, allocations: 486.5 kB / 0.8737 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.788, allocations: 0.5819 MB / 0.8743 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.788, allocations: 1.062 kB / 0.8743 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001528/0.7896, allocations: 0.7448 MB / 0.875 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.7896, allocations: 7.938 kB / 0.875 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7896, allocations: 0 / 0.875 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.7896, allocations: 4.781 kB / 0.875 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.7903, allocations: 124.1 kB / 0.8751 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.7903, allocations: 3.766 kB / 0.8752 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.7916, allocations: 92.5 kB / 0.8752 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.7917, allocations: 22.47 kB / 0.8753 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008383/0.7925, allocations: 466.1 kB / 0.8757 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007715/0.7933, allocations: 486 kB / 0.8762 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001138/0.7945, allocations: 0.5844 MB / 0.8767 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.7945, allocations: 3.906 kB / 0.8767 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001588/0.7961, allocations: 0.7293 MB / 0.8775 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7961, allocations: 7.578 kB / 0.8775 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.7961, allocations: 3.562 kB / 0.8775 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.7961, allocations: 4.25 kB / 0.8775 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.7967, allocations: 121.5 kB / 0.8776 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.7968, allocations: 6.406 kB / 0.8776 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.798, allocations: 129.2 kB / 0.8777 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.7981, allocations: 22.19 kB / 0.8777 GB, free: 13.8 MB / 0.6544 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.0002881/0.7984, allocations: 208.7 kB / 0.8779 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.7986, allocations: 111.5 kB / 0.878 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.8005, allocations: 0.8084 MB / 0.8788 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.8006, allocations: 9.594 kB / 0.8788 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8006, allocations: 0 / 0.8788 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.8006, allocations: 5.562 kB / 0.8788 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.804, allocations: 1.955 MB / 0.8808 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.804, allocations: 0 / 0.8808 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.8046, allocations: 109.2 kB / 0.8809 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.8046, allocations: 6.781 kB / 0.8809 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.8047, allocations: 18.52 kB / 0.8809 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.8047, allocations: 9.25 kB / 0.8809 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8047, allocations: 4.625 kB / 0.8809 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.807, allocations: 1.242 MB / 0.8821 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.8075, allocations: 297.5 kB / 0.8824 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.8077, allocations: 8.719 kB / 0.8824 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.8087, allocations: 63.17 kB / 0.8825 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.8088, allocations: 48.58 kB / 0.8825 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.8089, allocations: 20.55 kB / 0.8825 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001534/0.8104, allocations: 0.9206 MB / 0.8834 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8104, allocations: 0.625 kB / 0.8834 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001226/0.8116, allocations: 407.9 kB / 0.8838 GB, free: 11.02 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.003185/0.8148, allocations: 1.903 MB / 0.8857 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.817, allocations: 0.9393 MB / 0.8866 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.817, allocations: 1.781 kB / 0.8866 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006528/0.8177, allocations: 336.5 kB / 0.8869 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.8198, allocations: 433.9 kB / 0.8873 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.8345, allocations: 8.523 MB / 0.8957 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/0.8352, allocations: 1.044 MB / 0.8967 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00126/0.8365, allocations: 288 kB / 0.8969 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007105/0.8372, allocations: 391.1 kB / 0.8973 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.8372, allocations: 0 / 0.8973 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3704/1.208, allocations: 30.16 MB / 0.9268 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.944/11.15, allocations: 4 kB / 0.9268 GB, free: 6.422 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)