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.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 197.4 kB / 16.53 MB, free: 6.672 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002082, allocations: 290.7 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 102.6 kB / 0.5952 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1893, allocations: 86.98 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5962/0.7855, allocations: 241.9 MB / 0.9164 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.8026, allocations: 13.52 MB / 0.9296 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.8048, allocations: 59.56 kB / 0.9297 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.8072, allocations: 0.986 MB / 0.9306 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.8125, allocations: 1.777 MB / 0.9324 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.8154, allocations: 1.224 MB / 0.9336 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004246/0.8197, allocations: 3.254 MB / 0.9367 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.8215, allocations: 1.063 MB / 0.9378 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01104/0.8325, allocations: 4.109 MB / 0.9418 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.8342, allocations: 0.8944 MB / 0.9427 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.8346, allocations: 80 kB / 0.9427 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.8368, allocations: 0.7052 MB / 0.9434 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.8375, allocations: 446.6 kB / 0.9438 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.839, allocations: 0.6761 MB / 0.9445 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.8417, allocations: 1.51 MB / 0.946 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8417, allocations: 0 / 0.946 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.765e-06/0.8417, allocations: 0 / 0.946 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.495e-05/0.8418, allocations: 4 kB / 0.946 GB, free: 7.008 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.002956/0.8447, allocations: 1.628 MB / 0.9476 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.8448, allocations: 12.02 kB / 0.9476 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.8457, allocations: 200.2 kB / 0.9478 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.8474, allocations: 0.8386 MB / 0.9486 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.8476, allocations: 117.4 kB / 0.9487 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.8477, allocations: 88 kB / 0.9488 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.8493, allocations: 0.9142 MB / 0.9497 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.8493, allocations: 3.938 kB / 0.9497 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/0.8494, allocations: 40 kB / 0.9497 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.8495, allocations: 20 kB / 0.9497 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009235/0.8504, allocations: 0.5033 MB / 0.9502 GB, free: 2.441 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.005058/0.8554, allocations: 4.888 MB / 0.955 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.856, allocations: 420.6 kB / 0.9554 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.8564, allocations: 267.4 kB / 0.9557 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.8566, allocations: 101.1 kB / 0.9558 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.8566, allocations: 50.48 kB / 0.9558 GB, free: 12.23 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.8567, allocations: 4 kB / 0.9558 GB, free: 12.22 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.00184/0.8585, allocations: 0.778 MB / 0.9566 GB, free: 11.39 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/0.8587, allocations: 405.7 kB / 0.957 GB, free: 10.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.8602, allocations: 1.271 MB / 0.9582 GB, free: 9.625 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.8602, allocations: 37.7 kB / 0.9582 GB, free: 9.582 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.8607, allocations: 0.5495 MB / 0.9588 GB, free: 9.027 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.8607, allocations: 106.5 kB / 0.9589 GB, free: 8.922 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.8609, allocations: 89.59 kB / 0.959 GB, free: 8.828 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.861, allocations: 325.8 kB / 0.9593 GB, free: 8.504 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.8612, allocations: 91.69 kB / 0.9594 GB, free: 8.414 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.8616, allocations: 340.1 kB / 0.9597 GB, free: 7.988 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.8621, allocations: 332.4 kB / 0.96 GB, free: 7.617 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8621, allocations: 0 / 0.96 GB, free: 7.617 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008065/0.8629, allocations: 497.2 kB / 0.9605 GB, free: 7.117 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8629, allocations: 8.344 kB / 0.9605 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.8629, allocations: 8 kB / 0.9605 GB, free: 7.102 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.8633, allocations: 69.67 kB / 0.9606 GB, free: 7.027 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.8635, allocations: 55.84 kB / 0.9606 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.866, allocations: 3.264 MB / 0.9638 GB, free: 3.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.8667, allocations: 91.48 kB / 0.9639 GB, free: 3.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.8667, allocations: 20 kB / 0.9639 GB, free: 3.32 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.0004129/0.8672, allocations: 275.2 kB / 0.9642 GB, free: 3.043 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.8675, allocations: 135.9 kB / 0.9643 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.8677, allocations: 131.9 kB / 0.9644 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.8677, allocations: 12.12 kB / 0.9644 GB, free: 2.766 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.8678, allocations: 4 kB / 0.9644 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.8678, allocations: 7.984 kB / 0.9644 GB, free: 2.754 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.871, allocations: 2.52 MB / 0.9669 GB, free: 92 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.871, allocations: 4 kB / 0.9669 GB, free: 88 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.8711, allocations: 47.91 kB / 0.967 GB, free: 40 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/0.8714, allocations: 74.2 kB / 0.967 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.8714, allocations: 12 kB / 0.967 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/0.8738, allocations: 3.272 MB / 0.9702 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-05/0.8738, allocations: 8 kB / 0.9702 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.8746, allocations: 0.685 MB / 0.9709 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.875, allocations: 251.4 kB / 0.9711 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.8751, allocations: 15.98 kB / 0.9712 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/0.8758, allocations: 35.95 kB / 0.9712 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.8759, allocations: 39.84 kB / 0.9712 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.8759, allocations: 23.98 kB / 0.9713 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00115/0.8771, allocations: 0.8763 MB / 0.9721 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8771, allocations: 0 / 0.9721 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009836/0.8781, allocations: 263.7 kB / 0.9724 GB, free: 10.11 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.0004787/0.8786, allocations: 201.8 kB / 0.9726 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.8796, allocations: 0.5209 MB / 0.9731 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8796, allocations: 0 / 0.9731 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006311/0.8803, allocations: 402.6 kB / 0.9735 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/0.8837, allocations: 0.7568 MB / 0.9742 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.8869, allocations: 1.864 MB / 0.976 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008441/0.8877, allocations: 1.134 MB / 0.9771 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009303/0.8887, allocations: 242.5 kB / 0.9774 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.8889, allocations: 79.42 kB / 0.9774 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.8889, allocations: 0 / 0.9774 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of Templates: time 0.03729/0.9262, allocations: 23.27 MB / 1 GB, free: 13.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)