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.005701/0.005701, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001316/0.001316, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.189/1.189, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7364/0.7364, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 66.5 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1275, allocations: 80.22 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4845/0.6121, allocations: 189.7 MB / 0.8444 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006356/0.6185, allocations: 4.265 MB / 0.8486 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005729/0.619, allocations: 28.75 kB / 0.8486 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.6202, allocations: 0.5229 MB / 0.8491 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.6232, allocations: 1.626 MB / 0.8507 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.626, allocations: 1.356 MB / 0.852 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.6282, allocations: 2.275 MB / 0.8543 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.6293, allocations: 1.08 MB / 0.8553 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.6305, allocations: 0.9716 MB / 0.8563 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009089/0.6314, allocations: 0.8743 MB / 0.8571 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.6315, allocations: 140.8 kB / 0.8573 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.6334, allocations: 1.249 MB / 0.8585 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.6338, allocations: 427.9 kB / 0.8589 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.6343, allocations: 0.647 MB / 0.8595 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.6364, allocations: 1.984 MB / 0.8614 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6364, allocations: 0 / 0.8614 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6364, allocations: 0 / 0.8614 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.6364, allocations: 0 / 0.8614 GB, free: 7.125 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.003837/0.6402, allocations: 1.766 MB / 0.8632 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.6403, allocations: 12.03 kB / 0.8632 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.6404, allocations: 90.52 kB / 0.8633 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007738/0.6412, allocations: 191.1 kB / 0.8635 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.6429, allocations: 1.085 MB / 0.8645 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.643, allocations: 44.98 kB / 0.8646 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6431, allocations: 56 kB / 0.8646 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.6442, allocations: 0.6114 MB / 0.8652 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.6442, allocations: 0 / 0.8652 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/0.6443, allocations: 20 kB / 0.8652 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.6443, allocations: 24.98 kB / 0.8652 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6456, allocations: 0.6246 MB / 0.8659 GB, free: 2.484 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.003753/0.6493, allocations: 2.658 MB / 0.8685 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.6504, allocations: 0.5462 MB / 0.869 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.651, allocations: 348.6 kB / 0.8693 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/0.6514, allocations: 299.1 kB / 0.8696 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6514, allocations: 35.38 kB / 0.8696 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005556/0.652, allocations: 139.6 kB / 0.8698 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.652, allocations: 0 / 0.8698 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002157/0.6542, allocations: 1.024 MB / 0.8708 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.6542, allocations: 55.41 kB / 0.8708 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.6559, allocations: 1.275 MB / 0.8721 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.656, allocations: 41.69 kB / 0.8721 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.6563, allocations: 441.9 kB / 0.8725 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6565, allocations: 158.6 kB / 0.8727 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.6567, allocations: 118 kB / 0.8728 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6568, allocations: 326 kB / 0.8731 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.6574, allocations: 278.1 kB / 0.8734 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.6581, allocations: 482 kB / 0.8738 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.6592, allocations: 0.5871 MB / 0.8744 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.6592, allocations: 0 / 0.8744 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001396/0.6606, allocations: 0.7498 MB / 0.8751 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6607, allocations: 4 kB / 0.8751 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6607, allocations: 1.125 kB / 0.8751 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.6607, allocations: 4 kB / 0.8751 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.6613, allocations: 127.8 kB / 0.8753 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6613, allocations: 0 / 0.8753 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.6624, allocations: 84.91 kB / 0.8753 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.6624, allocations: 27.97 kB / 0.8754 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000751/0.6632, allocations: 467.9 kB / 0.8758 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007073/0.6639, allocations: 489.9 kB / 0.8763 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001064/0.665, allocations: 0.5811 MB / 0.8769 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.665, allocations: 5.797 kB / 0.8769 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001378/0.6664, allocations: 0.7459 MB / 0.8776 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.6664, allocations: 8 kB / 0.8776 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.6664, allocations: 0 / 0.8776 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-06/0.6664, allocations: 0 / 0.8776 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.667, allocations: 123.8 kB / 0.8777 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.667, allocations: 4 kB / 0.8777 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.6682, allocations: 131.4 kB / 0.8778 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.6683, allocations: 23.98 kB / 0.8779 GB, free: 5.73 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.0001691/0.6684, allocations: 204.1 kB / 0.8781 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.6686, allocations: 111.3 kB / 0.8782 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.6702, allocations: 0.8084 MB / 0.879 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6702, allocations: 4 kB / 0.879 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6702, allocations: 3.938 kB / 0.879 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.6703, allocations: 3.984 kB / 0.879 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.6732, allocations: 1.95 MB / 0.8809 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6732, allocations: 7.984 kB / 0.8809 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.6737, allocations: 108.1 kB / 0.881 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.6738, allocations: 11.94 kB / 0.881 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.6738, allocations: 11.98 kB / 0.881 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.6738, allocations: 4 kB / 0.881 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6738, allocations: 4 kB / 0.881 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.6758, allocations: 1.237 MB / 0.8822 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.6762, allocations: 292.3 kB / 0.8825 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.6763, allocations: 15.94 kB / 0.8825 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/0.6773, allocations: 67.97 kB / 0.8826 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/0.6774, allocations: 39.89 kB / 0.8826 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.6774, allocations: 19.98 kB / 0.8826 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001304/0.6787, allocations: 0.9248 MB / 0.8835 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6787, allocations: 0 / 0.8835 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009674/0.6797, allocations: 403.5 kB / 0.8839 GB, free: 15.36 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.002593/0.6823, allocations: 1.908 MB / 0.8858 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.6842, allocations: 0.9511 MB / 0.8867 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6842, allocations: 3.938 kB / 0.8867 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.6848, allocations: 336.2 kB / 0.887 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.6866, allocations: 423.7 kB / 0.8874 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.6986, allocations: 8.511 MB / 0.8958 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.6992, allocations: 1.041 MB / 0.8968 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009585/0.7002, allocations: 299 kB / 0.8971 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/0.7008, allocations: 387.3 kB / 0.8974 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.7008, allocations: 0 / 0.8974 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05173/0.7525, allocations: 30.16 MB / 0.9269 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.933/9.685, allocations: 6.562 kB / 0.9269 GB, free: 3.449 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)