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.005668/0.005668, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.001154/0.001154, allocations: 199.3 kB / 16.68 MB, free: 5.918 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001978, allocations: 281.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9446/0.9446, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 99.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.184, allocations: 86.98 MB / 0.7664 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6761/0.86, allocations: 241.9 MB / 1.003 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.8812, allocations: 13.53 MB / 1.016 GB, free: 3.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.884, allocations: 59.56 kB / 1.016 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.8885, allocations: 0.986 MB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.8947, allocations: 1.778 MB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.8986, allocations: 1.242 MB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00519/0.9038, allocations: 3.26 MB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.9058, allocations: 1.051 MB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.9168, allocations: 4.137 MB / 1.028 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.9188, allocations: 0.906 MB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.9193, allocations: 80 kB / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.9213, allocations: 0.6975 MB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007161/0.9221, allocations: 446.5 kB / 1.03 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.9234, allocations: 0.6839 MB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.9261, allocations: 1.542 MB / 1.032 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9261, allocations: 0 / 1.032 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9262, allocations: 0 / 1.032 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.962e-05/0.9262, allocations: 0 / 1.032 GB, free: 2.141 MB / 0.7794 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.002706/0.9289, allocations: 1.627 MB / 1.034 GB, free: 472 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.929, allocations: 8.031 kB / 1.034 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007418/0.9297, allocations: 206.1 kB / 1.034 GB, free: 256 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.9313, allocations: 0.9011 MB / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.9314, allocations: 125.4 kB / 1.035 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.9316, allocations: 80 kB / 1.035 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.933, allocations: 0.9254 MB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.933, allocations: 4 kB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.9331, allocations: 32 kB / 1.036 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.9331, allocations: 20 kB / 1.036 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008698/0.934, allocations: 0.5106 MB / 1.037 GB, free: 13.51 MB / 0.795 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.004859/0.9388, allocations: 4.857 MB / 1.041 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.9394, allocations: 420.6 kB / 1.042 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.9398, allocations: 268.3 kB / 1.042 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.94, allocations: 105 kB / 1.042 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.94, allocations: 50.5 kB / 1.042 GB, free: 7.316 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 1.993e-06/0.94, allocations: 0 / 1.042 GB, free: 7.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=31): time 0.001846/0.9419, allocations: 0.7785 MB / 1.043 GB, free: 6.492 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.9421, allocations: 405.8 kB / 1.043 GB, free: 6.004 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.9438, allocations: 1.275 MB / 1.045 GB, free: 4.719 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.9439, allocations: 37.7 kB / 1.045 GB, free: 4.676 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.9444, allocations: 0.5457 MB / 1.045 GB, free: 4.125 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/0.9445, allocations: 110.4 kB / 1.045 GB, free: 4.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.9446, allocations: 81.61 kB / 1.045 GB, free: 3.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9447, allocations: 322 kB / 1.046 GB, free: 3.609 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.9449, allocations: 91.92 kB / 1.046 GB, free: 3.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.9454, allocations: 343.3 kB / 1.046 GB, free: 3.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.9459, allocations: 332.5 kB / 1.046 GB, free: 2.719 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9459, allocations: 0 / 1.046 GB, free: 2.719 MB / 0.795 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009472/0.9469, allocations: 493.4 kB / 1.047 GB, free: 2.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.9469, allocations: 8 kB / 1.047 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.9469, allocations: 4 kB / 1.047 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.9473, allocations: 74.02 kB / 1.047 GB, free: 2.133 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.9475, allocations: 55.91 kB / 1.047 GB, free: 2.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.9501, allocations: 3.262 MB / 1.05 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/0.9509, allocations: 103.1 kB / 1.05 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.951, allocations: 23.98 kB / 1.05 GB, free: 14.42 MB / 0.8106 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.0004874/0.9515, allocations: 270.4 kB / 1.051 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/0.952, allocations: 134.4 kB / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.9523, allocations: 128 kB / 1.051 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.9523, allocations: 8 kB / 1.051 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.9523, allocations: 7.938 kB / 1.051 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.9523, allocations: 4 kB / 1.051 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.956, allocations: 2.523 MB / 1.053 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.9561, allocations: 4.688 kB / 1.053 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.9562, allocations: 51.91 kB / 1.053 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.9564, allocations: 69.67 kB / 1.053 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.9565, allocations: 12 kB / 1.053 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.9591, allocations: 3.261 MB / 1.057 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.9591, allocations: 7.938 kB / 1.057 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.9602, allocations: 0.6772 MB / 1.057 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.9607, allocations: 259.3 kB / 1.057 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.9609, allocations: 12 kB / 1.058 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.9616, allocations: 39.95 kB / 1.058 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.9617, allocations: 51.95 kB / 1.058 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.9618, allocations: 16 kB / 1.058 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001312/0.9631, allocations: 0.8763 MB / 1.058 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9631, allocations: 3.938 kB / 1.058 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00105/0.9642, allocations: 255.8 kB / 1.059 GB, free: 5.223 MB / 0.8106 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.0004774/0.9646, allocations: 211.7 kB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009878/0.9656, allocations: 0.5203 MB / 1.059 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.9657, allocations: 0 / 1.059 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.9662, allocations: 414.7 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/0.9696, allocations: 0.746 MB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.9726, allocations: 1.814 MB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007644/0.9734, allocations: 1.131 MB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000917/0.9743, allocations: 246.6 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.9745, allocations: 79.44 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of SimCode: time 9.82e-07/0.9745, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.04139/1.016, allocations: 23.8 MB / 1.087 GB, free: 8.504 MB / 0.8419 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)