Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.001605/0.001605, allocations: 105.4 kB / 15.7 MB, free: 24 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.002257/0.002257, allocations: 194.8 kB / 16.64 MB, free: 6.453 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.337/1.337, 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.785/1.785, 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.001515/0.001515, allocations: 69.09 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2389, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04598/0.2849, allocations: 49.75 MB / 0.8322 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.3028, allocations: 12.58 MB / 0.8445 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.3055, allocations: 75.56 kB / 0.8446 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.3078, allocations: 0.7526 MB / 0.8453 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.3129, allocations: 1.813 MB / 0.8471 GB, free: 12.04 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.3164, allocations: 1.355 MB / 0.8484 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004722/0.3211, allocations: 3.237 MB / 0.8516 GB, free: 7.445 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.3232, allocations: 1.262 MB / 0.8528 GB, free: 6.148 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.3265, allocations: 1.291 MB / 0.8541 GB, free: 4.863 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.3279, allocations: 0.9214 MB / 0.855 GB, free: 3.938 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.328, allocations: 96 kB / 0.8551 GB, free: 3.844 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.3303, allocations: 1.068 MB / 0.8561 GB, free: 2.773 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.3306, allocations: 290.8 kB / 0.8564 GB, free: 2.488 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007321/0.3313, allocations: 0.6723 MB / 0.857 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.334, allocations: 1.959 MB / 0.8589 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3341, allocations: 0 / 0.8589 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.108e-06/0.3341, allocations: 4 kB / 0.8589 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.3341, allocations: 0 / 0.8589 GB, free: 15.84 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002496/0.3366, allocations: 1.689 MB / 0.8606 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3367, allocations: 12.03 kB / 0.8606 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.3368, allocations: 135.4 kB / 0.8607 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/0.3374, allocations: 203.1 kB / 0.8609 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.3391, allocations: 1.084 MB / 0.862 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.3392, allocations: 70.12 kB / 0.8621 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3393, allocations: 84 kB / 0.8621 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.3409, allocations: 1.01 MB / 0.8631 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.341, allocations: 11.92 kB / 0.8631 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.341, allocations: 40 kB / 0.8632 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.3411, allocations: 20 kB / 0.8632 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.3425, allocations: 0.6477 MB / 0.8638 GB, free: 10.65 MB / 0.6856 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.00514/0.3476, allocations: 4.716 MB / 0.8684 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.3487, allocations: 402.5 kB / 0.8688 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.3492, allocations: 220.7 kB / 0.869 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009275/0.3502, allocations: 1.152 MB / 0.8701 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.3502, allocations: 38.56 kB / 0.8702 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.3502, allocations: 0 / 0.8702 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=29): time 0.002858/0.3531, allocations: 1.068 MB / 0.8712 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3531, allocations: 59.34 kB / 0.8713 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3543, allocations: 0.9668 MB / 0.8722 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.3543, allocations: 33.7 kB / 0.8723 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.3548, allocations: 0.581 MB / 0.8728 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.3549, allocations: 102.5 kB / 0.8729 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.355, allocations: 114 kB / 0.873 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3552, allocations: 322 kB / 0.8733 GB, free: 240 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.3557, allocations: 201 kB / 0.8735 GB, free: 40 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.3564, allocations: 418.3 kB / 0.8739 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.3575, allocations: 0.595 MB / 0.8745 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3576, allocations: 4 kB / 0.8745 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001563/0.3591, allocations: 0.7481 MB / 0.8752 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3592, allocations: 11.66 kB / 0.8753 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3592, allocations: 4.047 kB / 0.8753 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/0.3598, allocations: 166.4 kB / 0.8754 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.3605, allocations: 155.7 kB / 0.8756 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.3616, allocations: 1.716 MB / 0.8772 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.3622, allocations: 87.23 kB / 0.8773 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.3623, allocations: 28 kB / 0.8774 GB, free: 11.84 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003839/0.3627, allocations: 265.7 kB / 0.8776 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.3628, allocations: 110.6 kB / 0.8777 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.3646, allocations: 0.7252 MB / 0.8784 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.3646, allocations: 7.938 kB / 0.8784 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3646, allocations: 64 / 0.8784 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3646, allocations: 7.984 kB / 0.8784 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.3673, allocations: 1.619 MB / 0.88 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3674, allocations: 3.984 kB / 0.88 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.3678, allocations: 92.09 kB / 0.8801 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000544/0.3684, allocations: 154.3 kB / 0.8803 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.3684, allocations: 11.98 kB / 0.8803 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.3695, allocations: 1.704 MB / 0.8819 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3695, allocations: 4.031 kB / 0.8819 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.371, allocations: 0.7878 MB / 0.8827 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.3713, allocations: 243.6 kB / 0.8829 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3715, allocations: 11.94 kB / 0.883 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/0.372, allocations: 51.94 kB / 0.883 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.3721, allocations: 27.91 kB / 0.883 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.3722, allocations: 19.98 kB / 0.883 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000794/0.373, allocations: 0.6577 MB / 0.8837 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.373, allocations: 0 / 0.8837 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001006/0.374, allocations: 371.1 kB / 0.884 GB, free: 4.73 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002449/0.3765, allocations: 1.607 MB / 0.8856 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.378, allocations: 0.5555 MB / 0.8862 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.378, allocations: 0 / 0.8862 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007762/0.3788, allocations: 297.2 kB / 0.8864 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.381, allocations: 0.518 MB / 0.8869 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.3918, allocations: 7.251 MB / 0.894 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.3925, allocations: 1.111 MB / 0.8951 GB, free: 9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006431/0.3931, allocations: 180 kB / 0.8953 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.3936, allocations: 415.3 kB / 0.8957 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/0.3936, allocations: 4 kB / 0.8957 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3902/0.7838, allocations: 29.2 MB / 0.9242 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.44, allocations: 6.062 kB / 0.9242 GB, free: 136.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)