Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 105 kB / 16.35 MB, free: 5.824 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.001072/0.001072, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.31/1.31, 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.002086/0.002086, allocations: 286.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9331/0.9331, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 94.8 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1801, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5262/0.7063, allocations: 241.9 MB / 0.9178 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.7228, allocations: 13.53 MB / 0.931 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.725, allocations: 59.62 kB / 0.9311 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.7274, allocations: 0.9821 MB / 0.932 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.7318, allocations: 1.774 MB / 0.9338 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.7348, allocations: 1.247 MB / 0.935 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.7388, allocations: 3.261 MB / 0.9382 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.7401, allocations: 1.063 MB / 0.9392 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009153/0.7493, allocations: 4.121 MB / 0.9432 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.7507, allocations: 0.8983 MB / 0.9441 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.7509, allocations: 76 kB / 0.9442 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.7526, allocations: 0.6975 MB / 0.9449 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.753, allocations: 446.5 kB / 0.9453 GB, free: 160 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007666/0.7538, allocations: 0.6801 MB / 0.946 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.7556, allocations: 1.537 MB / 0.9475 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7556, allocations: 0 / 0.9475 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7557, allocations: 0 / 0.9475 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.7557, allocations: 0 / 0.9475 GB, free: 13.93 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002151/0.7578, allocations: 1.633 MB / 0.9491 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7579, allocations: 12.03 kB / 0.9491 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006346/0.7585, allocations: 194.2 kB / 0.9492 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.76, allocations: 0.9088 MB / 0.9501 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.7602, allocations: 121.4 kB / 0.9502 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.7603, allocations: 88 kB / 0.9503 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.7616, allocations: 0.9149 MB / 0.9512 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.7616, allocations: 0 / 0.9512 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.7617, allocations: 32 kB / 0.9513 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.7617, allocations: 24 kB / 0.9513 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/0.7626, allocations: 0.5071 MB / 0.9518 GB, free: 9.289 MB / 0.7169 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.004366/0.7669, allocations: 4.857 MB / 0.9565 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/0.7676, allocations: 427.7 kB / 0.9569 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.7679, allocations: 263.8 kB / 0.9572 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.7681, allocations: 101.1 kB / 0.9573 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.7682, allocations: 54.64 kB / 0.9573 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.7682, allocations: 0 / 0.9573 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.00175/0.77, allocations: 0.7815 MB / 0.9581 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.7701, allocations: 397.9 kB / 0.9585 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.7715, allocations: 1.271 MB / 0.9597 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.7715, allocations: 37.92 kB / 0.9597 GB, free: 472 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.32/1.092, allocations: 0.5415 MB / 0.9603 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/1.092, allocations: 113.7 kB / 0.9604 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/1.092, allocations: 82.44 kB / 0.9605 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/1.092, allocations: 317.5 kB / 0.9608 GB, free: 252.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/1.092, allocations: 96.03 kB / 0.9609 GB, free: 252.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/1.093, allocations: 340.3 kB / 0.9612 GB, free: 252 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/1.093, allocations: 327.6 kB / 0.9615 GB, free: 251.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.093, allocations: 1.719 kB / 0.9615 GB, free: 251.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000973/1.094, allocations: 0.4903 MB / 0.962 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.094, allocations: 7.469 kB / 0.962 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.094, allocations: 4.938 kB / 0.962 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/1.094, allocations: 73.95 kB / 0.9621 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/1.095, allocations: 58.62 kB / 0.9621 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/1.096, allocations: 3.256 MB / 0.9653 GB, free: 248.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/1.097, allocations: 100 kB / 0.9654 GB, free: 248.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/1.097, allocations: 24.77 kB / 0.9654 GB, free: 248.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004001/1.098, allocations: 277.9 kB / 0.9657 GB, free: 248.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/1.098, allocations: 141.4 kB / 0.9658 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/1.098, allocations: 125.7 kB / 0.9659 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/1.098, allocations: 6.531 kB / 0.9659 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/1.098, allocations: 5.562 kB / 0.9659 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/1.098, allocations: 4.859 kB / 0.9659 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/1.101, allocations: 2.519 MB / 0.9684 GB, free: 246.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.101, allocations: 6.328 kB / 0.9684 GB, free: 246.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/1.101, allocations: 46.7 kB / 0.9685 GB, free: 246.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/1.101, allocations: 78.44 kB / 0.9685 GB, free: 246.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.101, allocations: 11.5 kB / 0.9685 GB, free: 246.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/1.103, allocations: 3.257 MB / 0.9717 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.103, allocations: 9.594 kB / 0.9717 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/1.104, allocations: 0.6659 MB / 0.9724 GB, free: 243.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/1.104, allocations: 255.4 kB / 0.9726 GB, free: 242.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/1.104, allocations: 14.94 kB / 0.9726 GB, free: 242.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/1.105, allocations: 38.95 kB / 0.9727 GB, free: 242.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/1.105, allocations: 52.19 kB / 0.9727 GB, free: 242.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/1.105, allocations: 15.16 kB / 0.9727 GB, free: 242.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001111/1.106, allocations: 0.8779 MB / 0.9736 GB, free: 242.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/1.106, allocations: 0.9062 kB / 0.9736 GB, free: 242.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009166/1.107, allocations: 260 kB / 0.9738 GB, free: 242.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/1.108, allocations: 222.5 kB / 0.9741 GB, free: 242.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008143/1.108, allocations: 0.5291 MB / 0.9746 GB, free: 242.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.108, allocations: 1.219 kB / 0.9746 GB, free: 242.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004563/1.109, allocations: 405.5 kB / 0.975 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.112, allocations: 0.7425 MB / 0.9757 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/1.114, allocations: 1.818 MB / 0.9775 GB, free: 240.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/1.114, allocations: 1.137 MB / 0.9786 GB, free: 239.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006869/1.115, allocations: 239.2 kB / 0.9788 GB, free: 239.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/1.115, allocations: 77.48 kB / 0.9789 GB, free: 239.9 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/1.115, allocations: 0 / 0.9789 GB, free: 239.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.03861/1.154, allocations: 23.25 MB / 1.002 GB, free: 231.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)