Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001175/0.001175, 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.001201/0.001201, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.401/1.401, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.72/1.72, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001402/0.001402, allocations: 73.39 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2373, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7333/0.9706, allocations: 187.3 MB / 0.9665 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.9845, allocations: 13.05 MB / 0.9792 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.9861, allocations: 32.5 kB / 0.9793 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.9874, allocations: 421.3 kB / 0.9797 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.9904, allocations: 1.152 MB / 0.9808 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.9922, allocations: 0.7022 MB / 0.9815 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002434/0.9946, allocations: 2.003 MB / 0.9834 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.9958, allocations: 0.842 MB / 0.9843 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.9998, allocations: 1.81 MB / 0.986 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/1.001, allocations: 0.6583 MB / 0.9867 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/1.001, allocations: 85.28 kB / 0.9868 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/1.003, allocations: 0.8691 MB / 0.9876 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003592/1.004, allocations: 385.4 kB / 0.988 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005414/1.004, allocations: 0.4967 MB / 0.9885 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/1.006, allocations: 1.496 MB / 0.9899 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.006, allocations: 0 / 0.9899 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/1.006, allocations: 0 / 0.9899 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.447e-05/1.006, allocations: 0 / 0.9899 GB, free: 9.84 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00169/1.008, allocations: 1.227 MB / 0.9911 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.008, allocations: 13.67 kB / 0.9911 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/1.008, allocations: 129.5 kB / 0.9913 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/1.009, allocations: 217.7 kB / 0.9915 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009282/1.01, allocations: 0.6667 MB / 0.9921 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/1.01, allocations: 60.25 kB / 0.9922 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.01, allocations: 76.66 kB / 0.9922 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.011, allocations: 0.9322 MB / 0.9932 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/1.011, allocations: 7.156 kB / 0.9932 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/1.011, allocations: 35.56 kB / 0.9932 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/1.011, allocations: 32.73 kB / 0.9932 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008951/1.012, allocations: 0.6097 MB / 0.9938 GB, free: 7.105 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.004046/1.016, allocations: 4.574 MB / 0.9983 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/1.017, allocations: 0.5495 MB / 0.9988 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/1.017, allocations: 248 kB / 0.9991 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/1.018, allocations: 99.45 kB / 0.9992 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.018, allocations: 41.38 kB / 0.9992 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/1.018, allocations: 0 / 0.9992 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002659/1.02, allocations: 1.584 MB / 1.001 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/1.02, allocations: 111.8 kB / 1.001 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008/1.021, allocations: 0.7122 MB / 1.002 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/1.021, allocations: 36.67 kB / 1.002 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/1.021, allocations: 412.3 kB / 1.002 GB, free: 304 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.022, allocations: 165.1 kB / 1.002 GB, free: 160 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/1.022, allocations: 112.4 kB / 1.002 GB, free: 92 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.022, allocations: 386.9 kB / 1.003 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/1.022, allocations: 189.1 kB / 1.003 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/1.023, allocations: 413 kB / 1.003 GB, free: 15.26 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/1.025, allocations: 1.159 MB / 1.004 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.025, allocations: 2.094 kB / 1.004 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009535/1.026, allocations: 0.6667 MB / 1.005 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.026, allocations: 11.72 kB / 1.005 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.026, allocations: 7.344 kB / 1.005 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.026, allocations: 10.31 kB / 1.005 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/1.026, allocations: 130.5 kB / 1.005 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.026, allocations: 19.2 kB / 1.005 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/1.027, allocations: 26.02 kB / 1.005 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/1.027, allocations: 29.16 kB / 1.005 GB, free: 14.06 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003308/1.027, allocations: 274.2 kB / 1.005 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.027, allocations: 83.31 kB / 1.006 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/1.027, allocations: 88.72 kB / 1.006 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.027, allocations: 7.375 kB / 1.006 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.027, allocations: 7.922 kB / 1.006 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006477/1.028, allocations: 0.7016 MB / 1.006 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/1.03, allocations: 1.635 MB / 1.008 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.03, allocations: 5.219 kB / 1.008 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/1.031, allocations: 111.1 kB / 1.008 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/1.031, allocations: 11.25 kB / 1.008 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/1.031, allocations: 15.28 kB / 1.008 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/1.031, allocations: 5.562 kB / 1.008 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.031, allocations: 9.094 kB / 1.008 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/1.032, allocations: 0.8998 MB / 1.009 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/1.032, allocations: 206.6 kB / 1.009 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/1.032, allocations: 20.55 kB / 1.009 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/1.033, allocations: 11.59 kB / 1.009 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/1.033, allocations: 46.95 kB / 1.009 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.033, allocations: 21.38 kB / 1.009 GB, free: 11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005304/1.033, allocations: 0.5051 MB / 1.01 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.033, allocations: 0 / 1.01 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006687/1.034, allocations: 201.5 kB / 1.01 GB, free: 10.69 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (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 Backend phase and start with SimCode phase: time 0.001519/1.035, allocations: 1.536 MB / 1.011 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007367/1.036, allocations: 477.2 kB / 1.012 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.036, allocations: 4.188 kB / 1.012 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/1.036, allocations: 215.3 kB / 1.012 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/1.038, allocations: 477.7 kB / 1.013 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/1.046, allocations: 6.576 MB / 1.019 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/1.046, allocations: 1.02 MB / 1.02 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006747/1.047, allocations: 204.2 kB / 1.02 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/1.047, allocations: 291.5 kB / 1.02 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/1.047, allocations: 0 / 1.02 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04507/1.093, allocations: 22.01 MB / 1.042 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/9.51, allocations: 17.58 kB / 1.042 GB, free: 0.9805 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)