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.0008408/0.0008409, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006102/0.006102, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001667, allocations: 274.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9448/0.9448, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004325, allocations: 16.12 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1833, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.5336/0.717, allocations: 236.4 MB / 0.916 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01712/0.7342, allocations: 13.43 MB / 0.9291 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.7359, allocations: 51.62 kB / 0.9292 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.7385, allocations: 0.8198 MB / 0.93 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.7431, allocations: 1.69 MB / 0.9316 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.7459, allocations: 1.129 MB / 0.9327 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005192/0.7511, allocations: 4.635 MB / 0.9372 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.7524, allocations: 0.8945 MB / 0.9381 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008585/0.761, allocations: 3.833 MB / 0.9418 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.7624, allocations: 0.945 MB / 0.9428 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.7626, allocations: 48 kB / 0.9428 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.7647, allocations: 1.235 MB / 0.944 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.7651, allocations: 406.6 kB / 0.9444 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.7658, allocations: 0.67 MB / 0.9451 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.7677, allocations: 1.666 MB / 0.9467 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7677, allocations: 4 kB / 0.9467 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.073e-06/0.7677, allocations: 4 kB / 0.9467 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.7677, allocations: 0 / 0.9467 GB, free: 3.816 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.001968/0.7697, allocations: 1.398 MB / 0.9481 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7697, allocations: 8.031 kB / 0.9481 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.7704, allocations: 198.1 kB / 0.9483 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.7716, allocations: 0.8309 MB / 0.9491 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.7718, allocations: 129.3 kB / 0.9492 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.7719, allocations: 84.69 kB / 0.9493 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.7733, allocations: 0.9416 MB / 0.9502 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.7733, allocations: 7.938 kB / 0.9502 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.7734, allocations: 32.08 kB / 0.9502 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.7734, allocations: 20 kB / 0.9503 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000856/0.7743, allocations: 0.5267 MB / 0.9508 GB, free: 15.43 MB / 0.67 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.004411/0.7787, allocations: 4.931 MB / 0.9556 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.7792, allocations: 440.6 kB / 0.956 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.7796, allocations: 291.8 kB / 0.9563 GB, free: 9.309 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.7798, allocations: 105.1 kB / 0.9564 GB, free: 9.188 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.7799, allocations: 50.44 kB / 0.9564 GB, free: 9.129 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.7799, allocations: 0 / 0.9564 GB, free: 9.129 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.002212/0.7821, allocations: 0.8959 MB / 0.9573 GB, free: 8.184 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.7823, allocations: 405.6 kB / 0.9577 GB, free: 7.695 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.7836, allocations: 1.235 MB / 0.9589 GB, free: 6.449 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.7837, allocations: 37.7 kB / 0.9589 GB, free: 6.406 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.7841, allocations: 0.5341 MB / 0.9595 GB, free: 5.867 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.406e-05/0.7842, allocations: 126.2 kB / 0.9596 GB, free: 5.742 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.7842, allocations: 29.72 kB / 0.9596 GB, free: 5.707 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7843, allocations: 314 kB / 0.9599 GB, free: 5.395 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.7846, allocations: 115.9 kB / 0.96 GB, free: 5.281 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.785, allocations: 359.5 kB / 0.9604 GB, free: 4.836 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.7855, allocations: 360.6 kB / 0.9607 GB, free: 4.438 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7856, allocations: 3.938 kB / 0.9607 GB, free: 4.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00119/0.7868, allocations: 0.5678 MB / 0.9613 GB, free: 3.852 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.7869, allocations: 195.5 kB / 0.9614 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7869, allocations: 4 kB / 0.9614 GB, free: 3.605 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.7875, allocations: 129.7 kB / 0.9616 GB, free: 3.473 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.788, allocations: 91.88 kB / 0.9617 GB, free: 3.383 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.7893, allocations: 2.32 MB / 0.9639 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.79, allocations: 107.1 kB / 0.964 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.7901, allocations: 28.05 kB / 0.9641 GB, free: 0.832 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.7901, allocations: 4 kB / 0.9641 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007249/0.7908, allocations: 361.4 kB / 0.9644 GB, free: 480 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.7908, allocations: 7.938 kB / 0.9644 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.7911, allocations: 69.61 kB / 0.9645 GB, free: 396 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.7913, allocations: 75.92 kB / 0.9646 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.7936, allocations: 2.935 MB / 0.9674 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/0.7943, allocations: 118.5 kB / 0.9675 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.7944, allocations: 19.98 kB / 0.9675 GB, free: 12.97 MB / 0.6856 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004172/0.7948, allocations: 349.6 kB / 0.9679 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.7952, allocations: 138.3 kB / 0.968 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/0.796, allocations: 460.3 kB / 0.9685 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.796, allocations: 8 kB / 0.9685 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.796, allocations: 4 kB / 0.9685 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.796, allocations: 11.98 kB / 0.9685 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.7991, allocations: 2.561 MB / 0.971 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7991, allocations: 4 kB / 0.971 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.7994, allocations: 63.91 kB / 0.971 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.7996, allocations: 89.8 kB / 0.9711 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.7996, allocations: 15.94 kB / 0.9711 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.8008, allocations: 2.308 MB / 0.9734 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.8008, allocations: 4 kB / 0.9734 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009184/0.8017, allocations: 0.7912 MB / 0.9742 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.8021, allocations: 259.2 kB / 0.9744 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.8022, allocations: 16 kB / 0.9744 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/0.8029, allocations: 63.88 kB / 0.9745 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.803, allocations: 43.83 kB / 0.9745 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.8031, allocations: 20 kB / 0.9746 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001019/0.8041, allocations: 0.8605 MB / 0.9754 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8041, allocations: 0 / 0.9754 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001348/0.8054, allocations: 459.4 kB / 0.9758 GB, free: 4.102 MB / 0.6856 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000467/0.8059, allocations: 221.6 kB / 0.976 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.8076, allocations: 0.7604 MB / 0.9768 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.8076, allocations: 0 / 0.9768 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.8081, allocations: 205.2 kB / 0.977 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/0.8127, allocations: 0.7835 MB / 0.9778 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.8153, allocations: 2.198 MB / 0.9799 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.8159, allocations: 1.14 MB / 0.981 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008358/0.8168, allocations: 290.5 kB / 0.9813 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.817, allocations: 91.44 kB / 0.9814 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of SimCode: time 5.11e-07/0.817, allocations: 0 / 0.9814 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of Templates: time 0.04178/0.8588, allocations: 25.12 MB / 1.006 GB, free: 5.523 MB / 0.7169 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)