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.00112/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.333/1.333, allocations: 205.1 MB / 222.1 MB, free: 4.664 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.617/1.617, allocations: 292.3 MB / 0.5486 GB, free: 13.58 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.001274/0.001274, allocations: 74.55 kB / 0.6711 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1693, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.494/0.6634, allocations: 184.8 MB / 0.9635 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.6749, allocations: 12.92 MB / 0.9761 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008317/0.6757, allocations: 29.53 kB / 0.9761 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.6768, allocations: 366.2 kB / 0.9765 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.6789, allocations: 1.086 MB / 0.9775 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.6802, allocations: 0.6345 MB / 0.9782 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.682, allocations: 1.993 MB / 0.9801 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008277/0.6828, allocations: 0.8113 MB / 0.9809 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.6859, allocations: 1.775 MB / 0.9826 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.6872, allocations: 0.7037 MB / 0.9833 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.6873, allocations: 79.28 kB / 0.9834 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.6888, allocations: 0.9061 MB / 0.9843 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.6891, allocations: 393.6 kB / 0.9846 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.6895, allocations: 0.4924 MB / 0.9851 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.691, allocations: 1.53 MB / 0.9866 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.691, allocations: 0 / 0.9866 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.324e-06/0.691, allocations: 1.625 kB / 0.9866 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.691, allocations: 2.438 kB / 0.9866 GB, free: 4.625 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.001597/0.6926, allocations: 1.231 MB / 0.9878 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.6927, allocations: 9.812 kB / 0.9878 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.6928, allocations: 124.3 kB / 0.988 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.6939, allocations: 217.5 kB / 0.9882 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.6947, allocations: 0.6332 MB / 0.9888 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.6947, allocations: 60.47 kB / 0.9888 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.6948, allocations: 75.12 kB / 0.9889 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.6959, allocations: 0.9286 MB / 0.9898 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.6959, allocations: 8.938 kB / 0.9898 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.696, allocations: 38.22 kB / 0.9899 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.6961, allocations: 30.92 kB / 0.9899 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.6969, allocations: 0.6173 MB / 0.9905 GB, free: 19.25 MB / 0.7481 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.00328/0.7002, allocations: 4.575 MB / 0.995 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.7008, allocations: 0.5425 MB / 0.9955 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.701, allocations: 252 kB / 0.9957 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.7012, allocations: 99.11 kB / 0.9958 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.7012, allocations: 44.78 kB / 0.9959 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 1.823e-06/0.7012, allocations: 0 / 0.9959 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.00217/0.7034, allocations: 1.58 MB / 0.9974 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.7035, allocations: 113.2 kB / 0.9975 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.7041, allocations: 0.7117 MB / 0.9982 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.7041, allocations: 38.52 kB / 0.9983 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.7043, allocations: 409.2 kB / 0.9986 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.7044, allocations: 161 kB / 0.9988 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.7046, allocations: 118.5 kB / 0.9989 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7047, allocations: 387.5 kB / 0.9993 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.7049, allocations: 192.4 kB / 0.9995 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.7052, allocations: 412.5 kB / 0.9999 GB, free: 12.45 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.001735/0.707, allocations: 1.162 MB / 1.001 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.707, allocations: 2.281 kB / 1.001 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007687/0.7078, allocations: 0.6644 MB / 1.002 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7078, allocations: 12.38 kB / 1.002 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7078, allocations: 9.312 kB / 1.002 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7078, allocations: 13.3 kB / 1.002 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.7082, allocations: 124.9 kB / 1.002 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.7083, allocations: 11.56 kB / 1.002 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.7088, allocations: 57.03 kB / 1.002 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.7089, allocations: 25.31 kB / 1.002 GB, free: 11.52 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.0002813/0.7091, allocations: 273.6 kB / 1.002 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.7093, allocations: 88.11 kB / 1.002 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.7094, allocations: 90.34 kB / 1.002 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.7094, allocations: 3.406 kB / 1.002 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.7094, allocations: 3.156 kB / 1.002 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005822/0.71, allocations: 0.701 MB / 1.003 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.712, allocations: 1.644 MB / 1.005 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.712, allocations: 3.562 kB / 1.005 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.7124, allocations: 104.1 kB / 1.005 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.7124, allocations: 13.19 kB / 1.005 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.7125, allocations: 20.41 kB / 1.005 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.7125, allocations: 8.984 kB / 1.005 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7125, allocations: 7.812 kB / 1.005 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.7134, allocations: 0.8885 MB / 1.006 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.7136, allocations: 205.6 kB / 1.006 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.7137, allocations: 19.12 kB / 1.006 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.7142, allocations: 42.42 kB / 1.006 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.7142, allocations: 39.38 kB / 1.006 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.7143, allocations: 20.03 kB / 1.006 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000485/0.7148, allocations: 0.5046 MB / 1.006 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7148, allocations: 6.438 kB / 1.006 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006061/0.7154, allocations: 203.6 kB / 1.007 GB, free: 8.719 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.001371/0.7168, allocations: 1.519 MB / 1.008 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006859/0.7175, allocations: 0.5273 MB / 1.009 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7175, allocations: 0 / 1.009 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.7177, allocations: 211.4 kB / 1.009 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.7196, allocations: 0.4887 MB / 1.009 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.7269, allocations: 7.127 MB / 1.016 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.7274, allocations: 1.03 MB / 1.017 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006058/0.728, allocations: 206.2 kB / 1.017 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.7284, allocations: 295.6 kB / 1.018 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.7284, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.398/4.126, allocations: 21.84 MB / 1.039 GB, free: 5.066 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/4.127, allocations: 274.3 kB / 1.039 GB, free: 4.691 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/7.018, allocations: 0 / 1.039 GB, free: 4.691 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)