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.001276/0.001276, allocations: 106.2 kB / 16.4 MB, free: 6.516 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.001234/0.001234, allocations: 184 kB / 17.34 MB, free: 5.738 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002579/0.002579, allocations: 292.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4721, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05307/0.5252, allocations: 49.85 MB / 0.8157 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.5458, allocations: 12.68 MB / 0.8281 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.5485, allocations: 83.56 kB / 0.8282 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.5506, allocations: 0.7877 MB / 0.829 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.5558, allocations: 1.916 MB / 0.8308 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.5594, allocations: 1.378 MB / 0.8322 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005503/0.5649, allocations: 3.253 MB / 0.8354 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.5665, allocations: 1.032 MB / 0.8364 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.5697, allocations: 1.316 MB / 0.8377 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.5711, allocations: 0.9331 MB / 0.8386 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.5713, allocations: 96 kB / 0.8387 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.5738, allocations: 1.068 MB / 0.8397 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.5743, allocations: 306.6 kB / 0.84 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000785/0.575, allocations: 0.6722 MB / 0.8407 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003586/0.5786, allocations: 1.979 MB / 0.8426 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5786, allocations: 4 kB / 0.8426 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5786, allocations: 0 / 0.8426 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.5787, allocations: 4 kB / 0.8426 GB, free: 6.34 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.002983/0.5816, allocations: 1.754 MB / 0.8443 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5817, allocations: 8.031 kB / 0.8443 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.5823, allocations: 215.9 kB / 0.8445 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.5845, allocations: 1.109 MB / 0.8456 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.802e-05/0.5845, allocations: 66.38 kB / 0.8457 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.5847, allocations: 83.94 kB / 0.8457 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.5865, allocations: 0.9996 MB / 0.8467 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5865, allocations: 7.922 kB / 0.8467 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.5866, allocations: 40 kB / 0.8468 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.5866, allocations: 20 kB / 0.8468 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.5882, allocations: 0.6516 MB / 0.8474 GB, free: 1.199 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.005802/0.594, allocations: 4.733 MB / 0.852 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.5951, allocations: 378.6 kB / 0.8524 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.5957, allocations: 204.7 kB / 0.8526 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.5968, allocations: 1.144 MB / 0.8537 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.5968, allocations: 38.56 kB / 0.8538 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.5968, allocations: 0 / 0.8538 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29): time 0.003007/0.5998, allocations: 1.074 MB / 0.8548 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.5999, allocations: 59.34 kB / 0.8549 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.6012, allocations: 0.9793 MB / 0.8558 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.6012, allocations: 33.7 kB / 0.8559 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.6017, allocations: 0.5939 MB / 0.8564 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.6018, allocations: 111.1 kB / 0.8565 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.602, allocations: 110.1 kB / 0.8566 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6021, allocations: 326 kB / 0.857 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.6027, allocations: 197 kB / 0.8571 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/0.6035, allocations: 410.8 kB / 0.8575 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.6047, allocations: 0.6076 MB / 0.8581 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6047, allocations: 4 kB / 0.8581 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001689/0.6064, allocations: 0.7527 MB / 0.8589 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6065, allocations: 11.94 kB / 0.8589 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6065, allocations: 8 kB / 0.8589 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.6072, allocations: 155.2 kB / 0.859 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.6078, allocations: 155.7 kB / 0.8592 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.6091, allocations: 1.72 MB / 0.8609 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.6097, allocations: 87.47 kB / 0.8609 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.6098, allocations: 28 kB / 0.861 GB, free: 2.383 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.000416/0.6102, allocations: 269.5 kB / 0.8612 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.6104, allocations: 119.3 kB / 0.8613 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.6123, allocations: 0.7136 MB / 0.862 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.6123, allocations: 8 kB / 0.862 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6123, allocations: 3.938 kB / 0.862 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6123, allocations: 0 / 0.862 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.6153, allocations: 1.638 MB / 0.8636 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/0.6153, allocations: 4 kB / 0.8637 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.6158, allocations: 84.03 kB / 0.8637 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006086/0.6165, allocations: 146.5 kB / 0.8639 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.6165, allocations: 15.92 kB / 0.8639 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.6178, allocations: 1.72 MB / 0.8656 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6178, allocations: 3.938 kB / 0.8656 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.6195, allocations: 0.7814 MB / 0.8663 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.6199, allocations: 244.2 kB / 0.8666 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.62, allocations: 8 kB / 0.8666 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.6207, allocations: 47.94 kB / 0.8666 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.6207, allocations: 35.84 kB / 0.8667 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.6208, allocations: 19.98 kB / 0.8667 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000899/0.6217, allocations: 0.658 MB / 0.8673 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6217, allocations: 0 / 0.8673 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001091/0.6228, allocations: 386.9 kB / 0.8677 GB, free: 11.25 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.0008864/0.6237, allocations: 417.4 kB / 0.8681 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.6253, allocations: 0.5405 MB / 0.8686 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6253, allocations: 0 / 0.8686 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008227/0.6261, allocations: 280 kB / 0.8689 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.6284, allocations: 0.5201 MB / 0.8694 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.6316, allocations: 1.838 MB / 0.8712 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/0.6324, allocations: 1.111 MB / 0.8723 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006485/0.6331, allocations: 194.9 kB / 0.8725 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.6332, allocations: 67.42 kB / 0.8725 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.6332, allocations: 4 kB / 0.8725 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of Templates: time 0.03792/0.6711, allocations: 20.91 MB / 0.8929 GB, free: 1.633 MB / 0.6544 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)