Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007759/0.0007759, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009468/0.0009469, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 271.1 kB / 291.3 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.158/1.158, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004661, allocations: 10.59 kB / 0.598 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1956, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.5576/0.7533, allocations: 220.6 MB / 0.8999 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02042/0.7738, allocations: 12.65 MB / 0.9122 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.7758, allocations: 51.62 kB / 0.9123 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.7782, allocations: 0.6481 MB / 0.9129 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004492/0.7827, allocations: 1.422 MB / 0.9143 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.7855, allocations: 1.038 MB / 0.9153 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.7906, allocations: 3.921 MB / 0.9192 GB, free: 15.92 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.792, allocations: 0.7919 MB / 0.9199 GB, free: 15.11 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008548/0.8005, allocations: 3.089 MB / 0.923 GB, free: 12.01 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.8023, allocations: 0.9101 MB / 0.9238 GB, free: 11.09 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.8025, allocations: 48 kB / 0.9239 GB, free: 11.05 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.8045, allocations: 0.69 MB / 0.9246 GB, free: 10.36 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0004649/0.805, allocations: 410.6 kB / 0.925 GB, free: 9.953 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0005197/0.8055, allocations: 289 kB / 0.9252 GB, free: 9.664 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.8069, allocations: 1.149 MB / 0.9263 GB, free: 8.516 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8069, allocations: 4 kB / 0.9264 GB, free: 8.512 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8069, allocations: 0 / 0.9264 GB, free: 8.512 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.807, allocations: 0 / 0.9264 GB, free: 8.512 MB / 0.6388 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.001937/0.8089, allocations: 1.41 MB / 0.9277 GB, free: 7.047 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.8089, allocations: 8.031 kB / 0.9277 GB, free: 7.039 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.8096, allocations: 202.1 kB / 0.9279 GB, free: 6.84 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.8107, allocations: 0.8044 MB / 0.9287 GB, free: 5.98 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.8109, allocations: 117.4 kB / 0.9288 GB, free: 5.855 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.811, allocations: 88 kB / 0.9289 GB, free: 5.77 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.8124, allocations: 0.9415 MB / 0.9298 GB, free: 4.738 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.8124, allocations: 7.938 kB / 0.9298 GB, free: 4.73 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.8125, allocations: 32 kB / 0.9299 GB, free: 4.699 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.8125, allocations: 20 kB / 0.9299 GB, free: 4.68 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008311/0.8134, allocations: 0.5172 MB / 0.9304 GB, free: 4.168 MB / 0.6388 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.004736/0.8181, allocations: 4.927 MB / 0.9352 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.8187, allocations: 436.6 kB / 0.9356 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.8191, allocations: 287.8 kB / 0.9359 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.8194, allocations: 105.1 kB / 0.936 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.8194, allocations: 46.5 kB / 0.936 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.785e-06/0.8194, allocations: 4 kB / 0.936 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.002369/0.8218, allocations: 0.8919 MB / 0.9369 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002138/0.822, allocations: 397.5 kB / 0.9373 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.8235, allocations: 1.231 MB / 0.9385 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.8235, allocations: 37.7 kB / 0.9385 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.824, allocations: 0.5379 MB / 0.9391 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.8241, allocations: 122.2 kB / 0.9392 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.8241, allocations: 4 kB / 0.9392 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.8242, allocations: 322 kB / 0.9395 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.8244, allocations: 103.9 kB / 0.9396 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.8248, allocations: 347.5 kB / 0.9399 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.8251, allocations: 131.9 kB / 0.94 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8251, allocations: 3.953 kB / 0.94 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001112/0.8262, allocations: 0.5637 MB / 0.9406 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.8264, allocations: 187.4 kB / 0.9408 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.8264, allocations: 4 kB / 0.9408 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.827, allocations: 113.6 kB / 0.9409 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.8274, allocations: 103.8 kB / 0.941 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.8288, allocations: 2.31 MB / 0.9432 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.8296, allocations: 115.1 kB / 0.9434 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.8296, allocations: 27.98 kB / 0.9434 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.8297, allocations: 11.89 kB / 0.9434 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006799/0.8303, allocations: 353.1 kB / 0.9437 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8304, allocations: 4.344 kB / 0.9437 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.8306, allocations: 69.67 kB / 0.9438 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.8308, allocations: 71.89 kB / 0.9439 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.8332, allocations: 3.027 MB / 0.9468 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/0.834, allocations: 114.3 kB / 0.9469 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.834, allocations: 20.23 kB / 0.947 GB, free: 1.965 MB / 0.6544 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005135/0.8345, allocations: 358.7 kB / 0.9473 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/0.8349, allocations: 134.3 kB / 0.9474 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008004/0.8357, allocations: 462 kB / 0.9479 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.8357, allocations: 8 kB / 0.9479 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8357, allocations: 4 kB / 0.9479 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.8357, allocations: 7.984 kB / 0.9479 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.8389, allocations: 2.565 MB / 0.9504 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.8389, allocations: 4 kB / 0.9504 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.8391, allocations: 67.91 kB / 0.9505 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.8393, allocations: 90.3 kB / 0.9505 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.8394, allocations: 12 kB / 0.9506 GB, free: 14.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.8405, allocations: 2.309 MB / 0.9528 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.8406, allocations: 4 kB / 0.9528 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008968/0.8415, allocations: 0.7875 MB / 0.9536 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.8418, allocations: 263.2 kB / 0.9538 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.842, allocations: 15.95 kB / 0.9538 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.8426, allocations: 63.88 kB / 0.9539 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.8427, allocations: 43.84 kB / 0.9539 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.8427, allocations: 20 kB / 0.954 GB, free: 10.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001051/0.8438, allocations: 0.8527 MB / 0.9548 GB, free: 9.547 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8438, allocations: 0 / 0.9548 GB, free: 9.547 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001293/0.8451, allocations: 443.4 kB / 0.9552 GB, free: 9.113 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005088/0.8456, allocations: 231.6 kB / 0.9554 GB, free: 8.883 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.8472, allocations: 0.7323 MB / 0.9562 GB, free: 8.125 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.8472, allocations: 4 kB / 0.9562 GB, free: 8.121 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.8477, allocations: 201.5 kB / 0.9564 GB, free: 7.926 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/0.851, allocations: 0.7553 MB / 0.9571 GB, free: 7.18 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.8539, allocations: 2.086 MB / 0.9591 GB, free: 5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.8547, allocations: 1.131 MB / 0.9602 GB, free: 3.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009754/0.8557, allocations: 294.6 kB / 0.9605 GB, free: 3.547 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.8559, allocations: 79.44 kB / 0.9606 GB, free: 3.469 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/0.8559, allocations: 0 / 0.9606 GB, free: 3.469 MB / 0.67 GB Notification: Performance of Templates: time 0.04131/0.8972, allocations: 22.69 MB / 0.9827 GB, free: 13.15 MB / 0.7013 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)