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.005575/0.005575, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001265/0.001265, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.764/0.764, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 71.72 kB / 0.5809 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1504, allocations: 80.21 MB / 0.6592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5398/0.6902, allocations: 189.7 MB / 0.8444 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006562/0.6968, allocations: 4.283 MB / 0.8486 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.6982, allocations: 27.38 kB / 0.8486 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.6994, allocations: 0.5017 MB / 0.8491 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.7029, allocations: 1.563 MB / 0.8506 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.706, allocations: 1.351 MB / 0.852 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002503/0.7085, allocations: 2.263 MB / 0.8542 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.7098, allocations: 1.086 MB / 0.8552 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.7112, allocations: 0.9506 MB / 0.8562 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009965/0.7122, allocations: 0.8738 MB / 0.857 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.7124, allocations: 138.7 kB / 0.8571 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.7145, allocations: 1.241 MB / 0.8584 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.7149, allocations: 429.6 kB / 0.8588 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005574/0.7154, allocations: 0.6459 MB / 0.8594 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.7176, allocations: 1.991 MB / 0.8613 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7176, allocations: 0 / 0.8613 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7177, allocations: 3.156 kB / 0.8613 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.7177, allocations: 0 / 0.8613 GB, free: 1.992 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.003597/0.7213, allocations: 1.761 MB / 0.8631 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.7213, allocations: 8.25 kB / 0.8631 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.7214, allocations: 98.73 kB / 0.8632 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007717/0.7222, allocations: 192.3 kB / 0.8633 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.7237, allocations: 1.076 MB / 0.8644 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.7238, allocations: 44.47 kB / 0.8644 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.7239, allocations: 64.59 kB / 0.8645 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.7249, allocations: 0.6092 MB / 0.8651 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7249, allocations: 0.875 kB / 0.8651 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.725, allocations: 23.62 kB / 0.8651 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.725, allocations: 17.38 kB / 0.8651 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.7261, allocations: 0.6205 MB / 0.8657 GB, free: 0.5938 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.003379/0.7295, allocations: 2.667 MB / 0.8683 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.7305, allocations: 0.5418 MB / 0.8689 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.7311, allocations: 352.2 kB / 0.8692 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.7315, allocations: 289.8 kB / 0.8695 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.7316, allocations: 37.31 kB / 0.8695 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006033/0.7322, allocations: 143.9 kB / 0.8697 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.7322, allocations: 1 kB / 0.8697 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.002115/0.7343, allocations: 1.027 MB / 0.8707 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.7344, allocations: 56.28 kB / 0.8707 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.7362, allocations: 1.272 MB / 0.872 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.7363, allocations: 44.8 kB / 0.872 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.7367, allocations: 432 kB / 0.8724 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.7369, allocations: 161.1 kB / 0.8726 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.7371, allocations: 120.5 kB / 0.8727 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.7373, allocations: 322.4 kB / 0.873 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.7379, allocations: 273.9 kB / 0.8733 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.7386, allocations: 489.5 kB / 0.8737 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.7397, allocations: 0.5806 MB / 0.8743 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7397, allocations: 1 kB / 0.8743 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001524/0.7412, allocations: 0.747 MB / 0.875 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7412, allocations: 8.406 kB / 0.875 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.7412, allocations: 0 / 0.875 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.7413, allocations: 4.719 kB / 0.875 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.7419, allocations: 126.3 kB / 0.8752 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.7419, allocations: 6.594 kB / 0.8752 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.7431, allocations: 87.39 kB / 0.8752 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.7432, allocations: 23.8 kB / 0.8753 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007976/0.744, allocations: 472.7 kB / 0.8757 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007173/0.7447, allocations: 485.1 kB / 0.8762 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001037/0.7458, allocations: 0.585 MB / 0.8767 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.063e-06/0.7458, allocations: 0.8438 kB / 0.8767 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001621/0.7474, allocations: 0.7316 MB / 0.8775 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.7474, allocations: 5.531 kB / 0.8775 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.7475, allocations: 0 / 0.8775 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.7475, allocations: 6.953 kB / 0.8775 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.7481, allocations: 121.4 kB / 0.8776 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.7481, allocations: 9.906 kB / 0.8776 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.7494, allocations: 124.3 kB / 0.8777 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.7495, allocations: 26.77 kB / 0.8777 GB, free: 13.75 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.000259/0.7498, allocations: 206.8 kB / 0.8779 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.75, allocations: 108.7 kB / 0.878 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.7517, allocations: 0.8063 MB / 0.8788 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.7518, allocations: 9 kB / 0.8788 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7518, allocations: 3 kB / 0.8788 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7518, allocations: 1.094 kB / 0.8788 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.755, allocations: 1.957 MB / 0.8808 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.755, allocations: 3.562 kB / 0.8808 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.7555, allocations: 109.8 kB / 0.8809 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.7555, allocations: 2.812 kB / 0.8809 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.7556, allocations: 19.25 kB / 0.8809 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.7556, allocations: 3.375 kB / 0.8809 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.7556, allocations: 3.406 kB / 0.8809 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.7577, allocations: 1.246 MB / 0.8821 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.7582, allocations: 296.4 kB / 0.8824 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.7584, allocations: 13.06 kB / 0.8824 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/0.7593, allocations: 63.16 kB / 0.8825 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.7594, allocations: 46.19 kB / 0.8825 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.7595, allocations: 19.08 kB / 0.8825 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001362/0.7609, allocations: 0.9234 MB / 0.8834 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7609, allocations: 0 / 0.8834 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001047/0.7619, allocations: 403.4 kB / 0.8838 GB, free: 11.06 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.00269/0.7646, allocations: 1.909 MB / 0.8857 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.7665, allocations: 0.9455 MB / 0.8866 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7666, allocations: 0 / 0.8866 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.7672, allocations: 336.7 kB / 0.8869 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.7692, allocations: 433.2 kB / 0.8873 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.7827, allocations: 8.519 MB / 0.8957 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.7834, allocations: 1.039 MB / 0.8967 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001124/0.7845, allocations: 286.2 kB / 0.8969 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/0.7852, allocations: 391.1 kB / 0.8973 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.7852, allocations: 3.938 kB / 0.8973 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/0.849, allocations: 30.17 MB / 0.9268 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.848/10.7, allocations: 8.062 kB / 0.9268 GB, free: 6.383 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox_res.csv --start-time 0 --stop-time 240 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.096 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)