Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001439/0.00144, allocations: 108.5 kB / 16.41 MB, free: 6.008 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.00178/0.00178, allocations: 188.9 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002431/0.002431, allocations: 284.1 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001983, allocations: 95.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4502, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04656/0.4968, allocations: 49.76 MB / 0.8156 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.5161, allocations: 12.67 MB / 0.828 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.5195, allocations: 79.56 kB / 0.8281 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.5222, allocations: 0.7603 MB / 0.8288 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.5278, allocations: 1.823 MB / 0.8306 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.5318, allocations: 1.363 MB / 0.832 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005079/0.5369, allocations: 3.255 MB / 0.8351 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.5392, allocations: 1.25 MB / 0.8364 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.5429, allocations: 1.331 MB / 0.8377 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.5447, allocations: 0.9292 MB / 0.8386 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003314/0.545, allocations: 96 kB / 0.8386 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.5476, allocations: 1.072 MB / 0.8397 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004797/0.5481, allocations: 282.8 kB / 0.84 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.5492, allocations: 0.6761 MB / 0.8406 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.5528, allocations: 1.973 MB / 0.8426 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5528, allocations: 15.88 kB / 0.8426 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5529, allocations: 0 / 0.8426 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.399e-05/0.5529, allocations: 0 / 0.8426 GB, free: 6.344 MB / 0.6075 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.003323/0.5563, allocations: 1.695 MB / 0.8442 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5563, allocations: 8.031 kB / 0.8442 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.5571, allocations: 207.1 kB / 0.8444 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.5593, allocations: 1.1 MB / 0.8455 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.5594, allocations: 66.38 kB / 0.8456 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5596, allocations: 87.94 kB / 0.8457 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.5615, allocations: 1.003 MB / 0.8466 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.5615, allocations: 0 / 0.8466 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.5616, allocations: 36 kB / 0.8467 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.5616, allocations: 20 kB / 0.8467 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.5632, allocations: 0.6516 MB / 0.8473 GB, free: 1.285 MB / 0.6075 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.005675/0.5689, allocations: 4.72 MB / 0.8519 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.57, allocations: 403.2 kB / 0.8523 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.5705, allocations: 216.7 kB / 0.8525 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008708/0.5714, allocations: 1.148 MB / 0.8536 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.5715, allocations: 38.56 kB / 0.8537 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=29): time 2.645e-06/0.5715, allocations: 0 / 0.8537 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29): time 0.002918/0.5744, allocations: 1.074 MB / 0.8547 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5745, allocations: 59.34 kB / 0.8548 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.5758, allocations: 0.9831 MB / 0.8557 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.5759, allocations: 29.7 kB / 0.8558 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.5764, allocations: 0.5851 MB / 0.8563 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5765, allocations: 102.5 kB / 0.8564 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.5767, allocations: 114 kB / 0.8565 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5768, allocations: 326 kB / 0.8569 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.5773, allocations: 201 kB / 0.8571 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.5779, allocations: 398.9 kB / 0.8574 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.5791, allocations: 0.6154 MB / 0.858 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5791, allocations: 3.938 kB / 0.858 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001695/0.5808, allocations: 0.7559 MB / 0.8588 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5808, allocations: 8 kB / 0.8588 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5809, allocations: 4 kB / 0.8588 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007088/0.5816, allocations: 155.2 kB / 0.8589 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.5822, allocations: 155.7 kB / 0.8591 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.5834, allocations: 1.716 MB / 0.8608 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.5842, allocations: 87.27 kB / 0.8608 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.5842, allocations: 31.98 kB / 0.8609 GB, free: 2.457 MB / 0.6231 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.0004509/0.5847, allocations: 269.1 kB / 0.8611 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.585, allocations: 114.7 kB / 0.8612 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.5868, allocations: 0.7141 MB / 0.8619 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.5868, allocations: 15.97 kB / 0.862 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.5868, allocations: 3.938 kB / 0.862 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5868, allocations: 0 / 0.862 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.5897, allocations: 1.632 MB / 0.8635 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.5897, allocations: 4 kB / 0.8636 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.5902, allocations: 88.03 kB / 0.8636 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/0.5908, allocations: 146.5 kB / 0.8638 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.5908, allocations: 15.92 kB / 0.8638 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.5919, allocations: 1.712 MB / 0.8655 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5919, allocations: 4 kB / 0.8655 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.5936, allocations: 0.7768 MB / 0.8662 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.5941, allocations: 247.6 kB / 0.8665 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.5943, allocations: 8 kB / 0.8665 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006498/0.5949, allocations: 43.95 kB / 0.8665 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.595, allocations: 39.83 kB / 0.8665 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.5951, allocations: 23.98 kB / 0.8666 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009656/0.5961, allocations: 0.658 MB / 0.8672 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5961, allocations: 0 / 0.8672 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001113/0.5972, allocations: 371.1 kB / 0.8676 GB, free: 11.34 MB / 0.6387 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.001045/0.5983, allocations: 410 kB / 0.868 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.5999, allocations: 0.5562 MB / 0.8685 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.5999, allocations: 4 kB / 0.8685 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.6007, allocations: 284 kB / 0.8688 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.603, allocations: 0.5343 MB / 0.8693 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.6064, allocations: 1.842 MB / 0.8711 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.6072, allocations: 1.099 MB / 0.8722 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.6074, allocations: 75.42 kB / 0.8722 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.6074, allocations: 0 / 0.8722 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of Templates: time 0.03881/0.6462, allocations: 32.42 MB / 0.9039 GB, free: 6.238 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)