Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001466/0.001466, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 187.1 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 70.7 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2094, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5992/0.8087, allocations: 190.3 MB / 0.9695 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008344/0.8171, allocations: 5.632 MB / 0.975 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.8188, allocations: 39.28 kB / 0.975 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.8205, allocations: 0.5648 MB / 0.9756 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.8248, allocations: 1.593 MB / 0.9771 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.8282, allocations: 1.211 MB / 0.9783 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003676/0.8319, allocations: 2.476 MB / 0.9807 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.8334, allocations: 0.9976 MB / 0.9817 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.8355, allocations: 1.025 MB / 0.9827 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.8374, allocations: 0.8125 MB / 0.9835 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.8376, allocations: 99 kB / 0.9836 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/0.8423, allocations: 1.53 MB / 0.9851 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008545/0.8432, allocations: 487 kB / 0.9855 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.8444, allocations: 0.626 MB / 0.9861 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005264/0.8497, allocations: 2.104 MB / 0.9882 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.8497, allocations: 0 / 0.9882 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8497, allocations: 0 / 0.9882 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.306e-05/0.8498, allocations: 0 / 0.9882 GB, free: 9.711 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002437/0.8522, allocations: 1.463 MB / 0.9896 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.8523, allocations: 9.531 kB / 0.9896 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.8524, allocations: 148.6 kB / 0.9898 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.8543, allocations: 322.9 kB / 0.9901 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.8556, allocations: 0.8049 MB / 0.9909 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/0.8557, allocations: 65.12 kB / 0.9909 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.8558, allocations: 87.89 kB / 0.991 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.8574, allocations: 1.075 MB / 0.9921 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.8575, allocations: 5.688 kB / 0.9921 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.8575, allocations: 41.56 kB / 0.9921 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.8576, allocations: 32.59 kB / 0.9921 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.859, allocations: 0.8285 MB / 0.993 GB, free: 6.582 MB / 0.7325 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.004977/0.8639, allocations: 4.243 MB / 0.9971 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.8645, allocations: 380.9 kB / 0.9975 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.8648, allocations: 211.9 kB / 0.9977 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.8649, allocations: 104.3 kB / 0.9978 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.865, allocations: 47.56 kB / 0.9978 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 3.366e-06/0.865, allocations: 3.938 kB / 0.9978 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.00234/0.8673, allocations: 1.323 MB / 0.9991 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.8674, allocations: 60.28 kB / 0.9992 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.8686, allocations: 0.9888 MB / 1 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.8687, allocations: 38.8 kB / 1 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.869, allocations: 494 kB / 1.001 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.8691, allocations: 146.7 kB / 1.001 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.8693, allocations: 123.4 kB / 1.001 GB, free: 456 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.8694, allocations: 330.9 kB / 1.001 GB, free: 124 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.8698, allocations: 229.6 kB / 1.001 GB, free: 16 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.8703, allocations: 436.5 kB / 1.002 GB, free: 15.65 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.8726, allocations: 1.217 MB / 1.003 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.8726, allocations: 6.094 kB / 1.003 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001264/0.8738, allocations: 0.7638 MB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8739, allocations: 10.23 kB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8739, allocations: 11.38 kB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.8739, allocations: 11.56 kB / 1.004 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.8744, allocations: 138.1 kB / 1.004 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.8745, allocations: 15.36 kB / 1.004 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000855/0.8753, allocations: 58.53 kB / 1.004 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.8754, allocations: 34.67 kB / 1.004 GB, free: 14.38 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.00042/0.8758, allocations: 306.8 kB / 1.004 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.876, allocations: 100.7 kB / 1.004 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.8762, allocations: 106.3 kB / 1.005 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.8762, allocations: 4.812 kB / 1.005 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8762, allocations: 0 / 1.005 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006094/0.8768, allocations: 0.6798 MB / 1.005 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.8789, allocations: 1.573 MB / 1.007 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.8789, allocations: 2.469 kB / 1.007 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.8793, allocations: 97.64 kB / 1.007 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.8793, allocations: 7.438 kB / 1.007 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.8793, allocations: 15.69 kB / 1.007 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.8794, allocations: 8.875 kB / 1.007 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.8794, allocations: 10.3 kB / 1.007 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009388/0.8803, allocations: 0.8471 MB / 1.008 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.8806, allocations: 240.3 kB / 1.008 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.8808, allocations: 19.7 kB / 1.008 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.8814, allocations: 47.59 kB / 1.008 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.8814, allocations: 34.59 kB / 1.008 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.8815, allocations: 25.33 kB / 1.008 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008715/0.8824, allocations: 0.7057 MB / 1.009 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8824, allocations: 3.938 kB / 1.009 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007639/0.8832, allocations: 253.4 kB / 1.009 GB, free: 10.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001487/0.8847, allocations: 1.483 MB / 1.01 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008335/0.8855, allocations: 0.5065 MB / 1.011 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8855, allocations: 2.906 kB / 1.011 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.8857, allocations: 192.3 kB / 1.011 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.8882, allocations: 0.6185 MB / 1.012 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008999/0.8973, allocations: 7.563 MB / 1.019 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.8979, allocations: 1.1 MB / 1.02 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008197/0.8987, allocations: 246.7 kB / 1.02 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.8991, allocations: 341.8 kB / 1.021 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/0.8991, allocations: 0 / 1.021 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/0.95, allocations: 27.59 MB / 1.048 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.223/10.17, allocations: 13.75 kB / 1.048 GB, free: 9.191 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)