Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.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.PressureDropsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 107 kB / 16.41 MB, free: 6.504 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.001344/0.001345, allocations: 187 kB / 17.34 MB, free: 5.742 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002292/0.002292, allocations: 291.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9708/0.9708, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4794, allocations: 86.98 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1787/0.6581, allocations: 161.5 MB / 0.9248 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003579/0.6618, allocations: 1.713 MB / 0.9264 GB, free: 20 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005079/0.6623, allocations: 15.88 kB / 0.9265 GB, free: 4 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007346/0.6631, allocations: 162.9 kB / 0.9266 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.6648, allocations: 0.5172 MB / 0.9271 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.6661, allocations: 422.4 kB / 0.9275 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002879/0.669, allocations: 2.456 MB / 0.9299 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.6706, allocations: 0.9254 MB / 0.9308 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.6724, allocations: 0.942 MB / 0.9317 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.6736, allocations: 0.7117 MB / 0.9324 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.6739, allocations: 56 kB / 0.9325 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.6758, allocations: 0.7406 MB / 0.9332 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.6764, allocations: 306.9 kB / 0.9335 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.6775, allocations: 0.5401 MB / 0.934 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.6798, allocations: 1.408 MB / 0.9354 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6799, allocations: 0 / 0.9354 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6799, allocations: 4 kB / 0.9354 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.297e-05/0.6799, allocations: 0 / 0.9354 GB, free: 6.797 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002962/0.6829, allocations: 1.408 MB / 0.9368 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6829, allocations: 12.03 kB / 0.9368 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009826/0.6839, allocations: 182.5 kB / 0.937 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.6855, allocations: 0.8451 MB / 0.9378 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.6856, allocations: 45 kB / 0.9378 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.6857, allocations: 56 kB / 0.9379 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.6871, allocations: 0.6862 MB / 0.9386 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.6871, allocations: 0 / 0.9386 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.6872, allocations: 16 kB / 0.9386 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.6872, allocations: 12 kB / 0.9386 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/0.6881, allocations: 0.5229 MB / 0.9391 GB, free: 2.902 MB / 0.7012 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.004329/0.6925, allocations: 3.249 MB / 0.9423 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.6931, allocations: 389.2 kB / 0.9427 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.6935, allocations: 250.5 kB / 0.9429 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.6938, allocations: 190.2 kB / 0.9431 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.6939, allocations: 46.5 kB / 0.9431 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.6939, allocations: 0 / 0.9431 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.005044/0.6989, allocations: 1.488 MB / 0.9446 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.699, allocations: 55.41 kB / 0.9446 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.7005, allocations: 1.069 MB / 0.9457 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.7006, allocations: 33.7 kB / 0.9457 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.7009, allocations: 444.5 kB / 0.9461 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.701, allocations: 94.59 kB / 0.9462 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.7012, allocations: 77.59 kB / 0.9463 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.7013, allocations: 317.9 kB / 0.9466 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.7016, allocations: 168.6 kB / 0.9467 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.702, allocations: 354.6 kB / 0.9471 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.7027, allocations: 385 kB / 0.9475 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.7027, allocations: 0 / 0.9475 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002158/0.7048, allocations: 0.8074 MB / 0.9482 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7049, allocations: 8 kB / 0.9483 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7049, allocations: 0 / 0.9483 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.7064, allocations: 364.2 kB / 0.9486 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.7066, allocations: 23.92 kB / 0.9486 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.7076, allocations: 1.005 MB / 0.9496 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.7082, allocations: 47.69 kB / 0.9496 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.7082, allocations: 11.98 kB / 0.9497 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006339/0.7089, allocations: 455.8 kB / 0.9501 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003815/0.7093, allocations: 314.7 kB / 0.9504 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000456/0.7098, allocations: 306.3 kB / 0.9507 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.664e-06/0.7098, allocations: 0 / 0.9507 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001268/0.711, allocations: 0.61 MB / 0.9513 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.7111, allocations: 4 kB / 0.9513 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.7111, allocations: 0 / 0.9513 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005124/0.7116, allocations: 207.2 kB / 0.9515 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.7117, allocations: 19.98 kB / 0.9515 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.7156, allocations: 3.296 MB / 0.9547 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.7162, allocations: 48.28 kB / 0.9548 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.7163, allocations: 8 kB / 0.9548 GB, free: 1.98 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.7164, allocations: 196.3 kB / 0.955 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.7167, allocations: 94.81 kB / 0.9551 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.7179, allocations: 0.7058 MB / 0.9557 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7179, allocations: 0 / 0.9557 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.7179, allocations: 0 / 0.9557 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.718, allocations: 4 kB / 0.9557 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4011/1.119, allocations: 1.506 MB / 0.9572 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.119, allocations: 6.062 kB / 0.9572 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/1.119, allocations: 22.81 kB / 0.9572 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005584/1.12, allocations: 230.1 kB / 0.9575 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.12, allocations: 8.484 kB / 0.9575 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/1.121, allocations: 0.9821 MB / 0.9584 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.121, allocations: 6.969 kB / 0.9584 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/1.122, allocations: 0.7944 MB / 0.9592 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/1.123, allocations: 209.5 kB / 0.9594 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.123, allocations: 12.03 kB / 0.9594 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/1.123, allocations: 20.98 kB / 0.9594 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/1.123, allocations: 20.33 kB / 0.9595 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/1.123, allocations: 13.03 kB / 0.9595 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001062/1.124, allocations: 0.7738 MB / 0.9602 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/1.124, allocations: 0 / 0.9602 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001/1.125, allocations: 404.2 kB / 0.9606 GB, free: 188.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003856/1.126, allocations: 162.1 kB / 0.9608 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001394/1.127, allocations: 0.767 MB / 0.9615 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.127, allocations: 0 / 0.9615 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/1.128, allocations: 211.5 kB / 0.9617 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.13, allocations: 492.9 kB / 0.9622 GB, free: 188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/1.132, allocations: 1.737 MB / 0.9639 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/1.133, allocations: 1.177 MB / 0.965 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/1.133, allocations: 58.69 kB / 0.9651 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of SimCode: time 6.42e-07/1.133, allocations: 0 / 0.9651 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01956/1.152, allocations: 20.09 MB / 0.9847 GB, free: 169.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)