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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 108 kB / 15.6 MB, free: 132 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.001153/0.001153, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.519/1.519, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.711/1.711, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001398/0.001398, allocations: 67.48 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2565, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04952/0.3061, allocations: 49.74 MB / 0.8319 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.3258, allocations: 12.58 MB / 0.8442 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.3289, allocations: 75.56 kB / 0.8443 GB, free: 14.88 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.3309, allocations: 0.7487 MB / 0.845 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.3363, allocations: 1.811 MB / 0.8468 GB, free: 12.3 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003923/0.3402, allocations: 1.336 MB / 0.8481 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004326/0.3446, allocations: 3.228 MB / 0.8513 GB, free: 7.746 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.3462, allocations: 1.262 MB / 0.8525 GB, free: 6.449 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.3491, allocations: 1.3 MB / 0.8538 GB, free: 5.152 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.3504, allocations: 0.9175 MB / 0.8547 GB, free: 4.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.3506, allocations: 96 kB / 0.8547 GB, free: 4.137 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.3531, allocations: 1.068 MB / 0.8558 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.3534, allocations: 294.8 kB / 0.8561 GB, free: 2.777 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.3541, allocations: 0.6684 MB / 0.8567 GB, free: 2.105 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.3567, allocations: 1.932 MB / 0.8586 GB, free: 172 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3567, allocations: 4 kB / 0.8586 GB, free: 168 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3567, allocations: 0 / 0.8586 GB, free: 168 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.3567, allocations: 0 / 0.8586 GB, free: 168 kB / 0.67 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.002469/0.3592, allocations: 1.689 MB / 0.8603 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3592, allocations: 8.031 kB / 0.8603 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006278/0.3599, allocations: 207.1 kB / 0.8605 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.3616, allocations: 1.014 MB / 0.8615 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.362, allocations: 122.2 kB / 0.8616 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3621, allocations: 87.98 kB / 0.8617 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.3638, allocations: 1.018 MB / 0.8627 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.3638, allocations: 7.938 kB / 0.8627 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.3639, allocations: 36 kB / 0.8627 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.3639, allocations: 20 kB / 0.8627 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3654, allocations: 0.6555 MB / 0.8634 GB, free: 11.12 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.005085/0.3705, allocations: 4.758 MB / 0.868 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.3718, allocations: 429.9 kB / 0.8684 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.3723, allocations: 216.7 kB / 0.8686 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009079/0.3732, allocations: 1.156 MB / 0.8697 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3732, allocations: 42.5 kB / 0.8698 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=29): time 3.236e-06/0.3733, allocations: 0 / 0.8698 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of matching and sorting (n=29): time 0.003076/0.3763, allocations: 1.087 MB / 0.8709 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.3764, allocations: 59.34 kB / 0.8709 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.3777, allocations: 0.9629 MB / 0.8718 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.3778, allocations: 33.7 kB / 0.8719 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.3782, allocations: 0.581 MB / 0.8724 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3783, allocations: 106.6 kB / 0.8725 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.3785, allocations: 114 kB / 0.8727 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3787, allocations: 322 kB / 0.873 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.3792, allocations: 205 kB / 0.8732 GB, free: 428 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.3799, allocations: 418.3 kB / 0.8736 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3812, allocations: 0.6106 MB / 0.8742 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3812, allocations: 0 / 0.8742 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001731/0.3829, allocations: 0.7676 MB / 0.8749 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3829, allocations: 8 kB / 0.8749 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.383, allocations: 4 kB / 0.8749 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.3837, allocations: 163.2 kB / 0.8751 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.3843, allocations: 151.8 kB / 0.8752 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.3853, allocations: 1.712 MB / 0.8769 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.386, allocations: 91.23 kB / 0.877 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.3861, allocations: 40.11 kB / 0.877 GB, free: 12.19 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.0004203/0.3865, allocations: 261.6 kB / 0.8773 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.3867, allocations: 110.6 kB / 0.8774 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.3886, allocations: 0.73 MB / 0.8781 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.3886, allocations: 11.92 kB / 0.8781 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.3886, allocations: 0 / 0.8781 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3886, allocations: 3.984 kB / 0.8781 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.3915, allocations: 1.635 MB / 0.8797 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.3916, allocations: 3.984 kB / 0.8797 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.3921, allocations: 87.91 kB / 0.8798 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/0.3926, allocations: 154.4 kB / 0.8799 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.3927, allocations: 12 kB / 0.8799 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.3937, allocations: 1.708 MB / 0.8816 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3937, allocations: 0 / 0.8816 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3956, allocations: 0.8035 MB / 0.8824 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.396, allocations: 243.6 kB / 0.8826 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.3961, allocations: 8 kB / 0.8826 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.3968, allocations: 56 kB / 0.8827 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.3969, allocations: 27.91 kB / 0.8827 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.3969, allocations: 19.98 kB / 0.8827 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000828/0.3978, allocations: 0.6616 MB / 0.8834 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3978, allocations: 0 / 0.8834 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001065/0.3989, allocations: 375.1 kB / 0.8837 GB, free: 5.035 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.0008249/0.3997, allocations: 408.5 kB / 0.8841 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.4014, allocations: 0.5751 MB / 0.8847 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4014, allocations: 0 / 0.8847 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.4022, allocations: 304 kB / 0.885 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.4046, allocations: 0.5137 MB / 0.8855 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.4077, allocations: 1.836 MB / 0.8873 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.4083, allocations: 1.103 MB / 0.8883 GB, free: 264 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006825/0.409, allocations: 191.9 kB / 0.8885 GB, free: 68 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4092, allocations: 67.42 kB / 0.8886 GB, free: 0 / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.4092, allocations: 0 / 0.8886 GB, free: 0 / 0.7012 GB Notification: Performance of Templates: time 0.03557/0.4448, allocations: 20.64 MB / 0.9088 GB, free: 11.64 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (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 & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)