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.001171/0.001176, allocations: 107.4 kB / 16.27 MB, free: 5.984 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.001205/0.001205, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002151/0.002151, allocations: 294.9 kB / 291.3 MB, free: 1.727 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9869/0.9869, allocations: 169.3 MB / 0.4988 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 96.67 kB / 0.5959 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1506, allocations: 86.98 MB / 0.6808 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5372/0.6878, allocations: 241.9 MB / 0.917 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.7054, allocations: 13.52 MB / 0.9302 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.7079, allocations: 59.62 kB / 0.9303 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.7106, allocations: 0.9821 MB / 0.9313 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.7158, allocations: 1.776 MB / 0.933 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.719, allocations: 1.227 MB / 0.9342 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00477/0.7238, allocations: 3.267 MB / 0.9374 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.7255, allocations: 1.055 MB / 0.9384 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009906/0.7354, allocations: 4.109 MB / 0.9424 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.737, allocations: 0.9021 MB / 0.9433 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.7372, allocations: 83.94 kB / 0.9434 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.7387, allocations: 0.6975 MB / 0.9441 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.7391, allocations: 438.6 kB / 0.9445 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007847/0.7399, allocations: 0.6761 MB / 0.9452 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.7417, allocations: 1.522 MB / 0.9466 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7417, allocations: 0 / 0.9466 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7418, allocations: 0 / 0.9466 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.7418, allocations: 0 / 0.9466 GB, free: 7.121 MB / 0.6544 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.002123/0.7439, allocations: 1.628 MB / 0.9482 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.744, allocations: 11.98 kB / 0.9482 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006387/0.7446, allocations: 198.2 kB / 0.9484 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.7457, allocations: 0.8347 MB / 0.9492 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.7459, allocations: 125.4 kB / 0.9494 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.746, allocations: 84 kB / 0.9494 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.7473, allocations: 0.9142 MB / 0.9503 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.7473, allocations: 7.938 kB / 0.9503 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.7474, allocations: 32 kB / 0.9504 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.7474, allocations: 23.94 kB / 0.9504 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008463/0.7482, allocations: 0.511 MB / 0.9509 GB, free: 2.543 MB / 0.6544 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.004362/0.7526, allocations: 4.885 MB / 0.9557 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.7532, allocations: 412.7 kB / 0.9561 GB, free: 12.82 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.7535, allocations: 275.8 kB / 0.9563 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.7537, allocations: 97.09 kB / 0.9564 GB, free: 12.39 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.7538, allocations: 63.27 kB / 0.9565 GB, free: 12.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.424e-06/0.7538, allocations: 0 / 0.9565 GB, free: 12.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001763/0.7555, allocations: 0.7816 MB / 0.9572 GB, free: 11.49 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002053/0.7558, allocations: 401.9 kB / 0.9576 GB, free: 11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.7571, allocations: 1.267 MB / 0.9589 GB, free: 9.727 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.7572, allocations: 41.7 kB / 0.9589 GB, free: 9.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.7576, allocations: 0.5456 MB / 0.9594 GB, free: 9.129 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.7577, allocations: 110.5 kB / 0.9595 GB, free: 9.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.7578, allocations: 85.59 kB / 0.9596 GB, free: 8.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.7579, allocations: 321.9 kB / 0.9599 GB, free: 8.609 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.7581, allocations: 95.69 kB / 0.96 GB, free: 8.516 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.7585, allocations: 336 kB / 0.9603 GB, free: 8.094 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.759, allocations: 332.5 kB / 0.9607 GB, free: 7.723 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.759, allocations: 0 / 0.9607 GB, free: 7.723 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008283/0.7599, allocations: 0.4896 MB / 0.9611 GB, free: 7.219 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.7599, allocations: 4 kB / 0.9611 GB, free: 7.215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7599, allocations: 5.125 kB / 0.9611 GB, free: 7.211 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.7602, allocations: 77.83 kB / 0.9612 GB, free: 7.129 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.7604, allocations: 55.91 kB / 0.9613 GB, free: 7.074 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.763, allocations: 3.257 MB / 0.9644 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.764, allocations: 95.23 kB / 0.9645 GB, free: 3.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.7641, allocations: 16 kB / 0.9646 GB, free: 3.43 MB / 0.67 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.0005202/0.7646, allocations: 275.1 kB / 0.9648 GB, free: 3.152 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/0.7651, allocations: 138.3 kB / 0.9649 GB, free: 3.016 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.7652, allocations: 128 kB / 0.9651 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.7653, allocations: 10 kB / 0.9651 GB, free: 2.879 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.7653, allocations: 15.98 kB / 0.9651 GB, free: 2.863 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7653, allocations: 0 / 0.9651 GB, free: 2.863 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.7687, allocations: 2.52 MB / 0.9676 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.7687, allocations: 8 kB / 0.9676 GB, free: 196 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.7689, allocations: 47.91 kB / 0.9676 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.7691, allocations: 73.66 kB / 0.9677 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.7691, allocations: 19.88 kB / 0.9677 GB, free: 48 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.7716, allocations: 3.26 MB / 0.9709 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.7717, allocations: 12.12 kB / 0.9709 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.7727, allocations: 0.6811 MB / 0.9716 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.7732, allocations: 243.4 kB / 0.9718 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.7734, allocations: 16.86 kB / 0.9718 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/0.774, allocations: 43.95 kB / 0.9719 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.7741, allocations: 35.84 kB / 0.9719 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.7741, allocations: 19.98 kB / 0.9719 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001418/0.7756, allocations: 0.8802 MB / 0.9728 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7756, allocations: 0 / 0.9728 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001006/0.7766, allocations: 259.7 kB / 0.973 GB, free: 10.22 MB / 0.6856 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.0004946/0.7771, allocations: 214.5 kB / 0.9732 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.7781, allocations: 0.521 MB / 0.9737 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.7781, allocations: 4 kB / 0.9737 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.7787, allocations: 399 kB / 0.9741 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.7822, allocations: 0.758 MB / 0.9748 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.7851, allocations: 1.905 MB / 0.9767 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.7859, allocations: 1.134 MB / 0.9778 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.786, allocations: 79.42 kB / 0.9779 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of SimCode: time 5.52e-07/0.7861, allocations: 0 / 0.9779 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of Templates: time 0.03689/0.8229, allocations: 27.57 MB / 1.005 GB, free: 9.699 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)