Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.005873/0.005878, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.001427/0.001427, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.274/1.274, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 293.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 95.84 kB / 0.6809 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4522, allocations: 86.97 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1779/0.6301, allocations: 171.1 MB / 0.9329 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007099/0.6372, allocations: 4.305 MB / 0.9371 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.6383, allocations: 23.88 kB / 0.9372 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.6396, allocations: 361.9 kB / 0.9375 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.6429, allocations: 1.268 MB / 0.9387 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.6451, allocations: 0.7999 MB / 0.9395 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002259/0.6474, allocations: 1.691 MB / 0.9412 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009364/0.6483, allocations: 0.5659 MB / 0.9417 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.6499, allocations: 0.7118 MB / 0.9424 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.6512, allocations: 0.5526 MB / 0.943 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.6514, allocations: 68 kB / 0.943 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.6532, allocations: 0.799 MB / 0.9438 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.6536, allocations: 267.3 kB / 0.9441 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007659/0.6544, allocations: 410.3 kB / 0.9445 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.6567, allocations: 1.267 MB / 0.9457 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6568, allocations: 0 / 0.9457 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6568, allocations: 0 / 0.9457 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.704e-05/0.6568, allocations: 0 / 0.9457 GB, free: 11.06 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0023/0.6591, allocations: 1.055 MB / 0.9467 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6592, allocations: 12.03 kB / 0.9467 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.6593, allocations: 98.52 kB / 0.9468 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.6604, allocations: 167.4 kB / 0.947 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6614, allocations: 0.5448 MB / 0.9475 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.6615, allocations: 45.25 kB / 0.9476 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.6616, allocations: 48 kB / 0.9476 GB, free: 9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.6627, allocations: 0.6557 MB / 0.9482 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.6627, allocations: 4 kB / 0.9483 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.6628, allocations: 28 kB / 0.9483 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.6628, allocations: 21.31 kB / 0.9483 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009288/0.6638, allocations: 0.5125 MB / 0.9488 GB, free: 7.762 MB / 0.7169 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.003399/0.6672, allocations: 2.305 MB / 0.951 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.6677, allocations: 250.8 kB / 0.9513 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.6679, allocations: 138.3 kB / 0.9514 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.668, allocations: 7.938 kB / 0.9514 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.668, allocations: 42.56 kB / 0.9515 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.093e-06/0.668, allocations: 0 / 0.9515 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001707/0.6697, allocations: 0.675 MB / 0.9521 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.6698, allocations: 85.11 kB / 0.9522 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/0.6705, allocations: 0.5574 MB / 0.9528 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.6706, allocations: 33.7 kB / 0.9528 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.6708, allocations: 331.8 kB / 0.9531 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.6709, allocations: 79.38 kB / 0.9532 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.671, allocations: 65.98 kB / 0.9532 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6712, allocations: 362.7 kB / 0.9536 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.6714, allocations: 136.6 kB / 0.9537 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.6717, allocations: 206.7 kB / 0.9539 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.6722, allocations: 333.4 kB / 0.9542 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6722, allocations: 4 kB / 0.9542 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008967/0.6731, allocations: 0.4911 MB / 0.9547 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6732, allocations: 8 kB / 0.9547 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6732, allocations: 7.984 kB / 0.9547 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.6735, allocations: 89.64 kB / 0.9548 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.6738, allocations: 71.91 kB / 0.9549 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3159/0.9897, allocations: 3.336 MB / 0.9581 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.9903, allocations: 54.3 kB / 0.9582 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.9904, allocations: 20.16 kB / 0.9582 GB, free: 188.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002918/0.9907, allocations: 220.3 kB / 0.9584 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.9908, allocations: 58.66 kB / 0.9585 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.612e-05/0.9909, allocations: 56.95 kB / 0.9585 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.9909, allocations: 2.125 kB / 0.9585 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.9909, allocations: 1.094 kB / 0.9585 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007007/0.9916, allocations: 0.5322 MB / 0.9591 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.993, allocations: 0.9151 MB / 0.96 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.993, allocations: 0.7188 kB / 0.96 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.9933, allocations: 51.08 kB / 0.96 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/0.9935, allocations: 66.48 kB / 0.9601 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.9935, allocations: 6.812 kB / 0.9601 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.995, allocations: 1.83 MB / 0.9619 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.995, allocations: 1.312 kB / 0.9619 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.9956, allocations: 441.9 kB / 0.9623 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.9958, allocations: 167.5 kB / 0.9624 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.9959, allocations: 6.172 kB / 0.9624 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.9963, allocations: 26.16 kB / 0.9625 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.9964, allocations: 19.47 kB / 0.9625 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.9965, allocations: 13.25 kB / 0.9625 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004436/0.9969, allocations: 407.4 kB / 0.9629 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9969, allocations: 0.9688 kB / 0.9629 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006276/0.9976, allocations: 206.8 kB / 0.9631 GB, free: 185.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009747/0.9985, allocations: 1.024 MB / 0.9641 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007838/0.9993, allocations: 0.543 MB / 0.9646 GB, free: 184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9994, allocations: 1.469 kB / 0.9646 GB, free: 184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.9997, allocations: 250.7 kB / 0.9649 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/1.001, allocations: 372.3 kB / 0.9652 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/1.007, allocations: 4.472 MB / 0.9696 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/1.007, allocations: 0.9102 MB / 0.9705 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004373/1.007, allocations: 115.9 kB / 0.9706 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/1.008, allocations: 191.3 kB / 0.9708 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of SimCode: time 9.91e-07/1.008, allocations: 3.844 kB / 0.9708 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/1.046, allocations: 17.82 MB / 0.9882 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.21, allocations: 14.44 kB / 0.9882 GB, free: 165.2 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)