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.005284/0.005284, allocations: 100.3 kB / 15.73 MB, free: 5.965 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.001218/0.001218, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 285.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9084/0.9084, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 103.8 kB / 0.6815 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4541, allocations: 86.98 MB / 0.7664 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6484/1.102, allocations: 241.9 MB / 1.003 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01444/1.117, allocations: 13.54 MB / 1.016 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/1.119, allocations: 60.16 kB / 1.016 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/1.122, allocations: 0.9759 MB / 1.017 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004336/1.126, allocations: 1.783 MB / 1.019 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/1.129, allocations: 1.247 MB / 1.02 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003268/1.132, allocations: 3.258 MB / 1.023 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/1.133, allocations: 1.053 MB / 1.024 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007827/1.141, allocations: 4.15 MB / 1.028 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/1.142, allocations: 0.8896 MB / 1.029 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/1.142, allocations: 84.19 kB / 1.029 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/1.144, allocations: 0.701 MB / 1.03 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/1.144, allocations: 439.6 kB / 1.03 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005609/1.145, allocations: 0.678 MB / 1.031 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/1.146, allocations: 1.548 MB / 1.032 GB, free: 212 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.146, allocations: 6.391 kB / 1.032 GB, free: 212 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/1.146, allocations: 0 / 1.032 GB, free: 212 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.529e-05/1.146, allocations: 0 / 1.032 GB, free: 212 kB / 0.7169 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.001916/1.148, allocations: 1.621 MB / 1.034 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/1.148, allocations: 7.781 kB / 1.034 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006356/1.149, allocations: 202.9 kB / 1.034 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/1.15, allocations: 0.9001 MB / 1.035 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/1.15, allocations: 126 kB / 1.035 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/1.15, allocations: 85.19 kB / 1.035 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.151, allocations: 0.9159 MB / 1.036 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/1.151, allocations: 6.594 kB / 1.036 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/1.152, allocations: 36.03 kB / 1.036 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/1.152, allocations: 22.56 kB / 1.036 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/1.152, allocations: 0.5015 MB / 1.037 GB, free: 14.5 MB / 0.7325 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.003989/1.156, allocations: 4.866 MB / 1.041 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/1.157, allocations: 425.7 kB / 1.042 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/1.157, allocations: 267.6 kB / 1.042 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/1.157, allocations: 97.16 kB / 1.042 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.157, allocations: 60.22 kB / 1.042 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/1.157, allocations: 0 / 1.042 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001558/1.159, allocations: 0.7788 MB / 1.043 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/1.159, allocations: 396.7 kB / 1.043 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/1.16, allocations: 1.276 MB / 1.045 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/1.16, allocations: 39.64 kB / 1.045 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/1.161, allocations: 0.5482 MB / 1.045 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/1.161, allocations: 106.8 kB / 1.045 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.161, allocations: 84.12 kB / 1.045 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/1.161, allocations: 318.6 kB / 1.046 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/1.161, allocations: 90.55 kB / 1.046 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/1.162, allocations: 336 kB / 1.046 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/1.162, allocations: 330.8 kB / 1.046 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.162, allocations: 1.312 kB / 1.046 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007739/1.163, allocations: 0.491 MB / 1.047 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.163, allocations: 6.844 kB / 1.047 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.163, allocations: 2.844 kB / 1.047 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/1.163, allocations: 73.5 kB / 1.047 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/1.163, allocations: 58.67 kB / 1.047 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/1.166, allocations: 3.252 MB / 1.05 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/1.166, allocations: 98.67 kB / 1.05 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.166, allocations: 24.73 kB / 1.05 GB, free: 5.383 MB / 0.7325 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.0003498/1.167, allocations: 282.4 kB / 1.051 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.167, allocations: 132.3 kB / 1.051 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/1.167, allocations: 130.7 kB / 1.051 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.167, allocations: 5.562 kB / 1.051 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.167, allocations: 5.031 kB / 1.051 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.167, allocations: 6.328 kB / 1.051 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/1.17, allocations: 2.528 MB / 1.053 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.17, allocations: 4.688 kB / 1.053 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/1.17, allocations: 49.69 kB / 1.053 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/1.17, allocations: 75.12 kB / 1.053 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/1.17, allocations: 12.62 kB / 1.053 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/1.173, allocations: 3.26 MB / 1.057 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.173, allocations: 11.81 kB / 1.057 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/1.173, allocations: 0.6768 MB / 1.057 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/1.174, allocations: 254.5 kB / 1.057 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.174, allocations: 15.77 kB / 1.058 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006533/1.175, allocations: 41.12 kB / 1.058 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/1.175, allocations: 44.17 kB / 1.058 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/1.175, allocations: 17.16 kB / 1.058 GB, free: 32 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001014/1.176, allocations: 0.8774 MB / 1.058 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.176, allocations: 1.656 kB / 1.058 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000926/1.177, allocations: 259.8 kB / 1.059 GB, free: 15.67 MB / 0.7481 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.0004585/1.177, allocations: 210.5 kB / 1.059 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009199/1.178, allocations: 0.5172 MB / 1.059 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.178, allocations: 2.469 kB / 1.059 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004836/1.179, allocations: 409.9 kB / 1.06 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/1.182, allocations: 0.736 MB / 1.061 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/1.184, allocations: 1.826 MB / 1.062 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/1.184, allocations: 1.135 MB / 1.063 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000644/1.185, allocations: 246.9 kB / 1.064 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/1.185, allocations: 75.84 kB / 1.064 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/1.185, allocations: 0 / 1.064 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.03542/1.221, allocations: 23.34 MB / 1.087 GB, free: 7.836 MB / 0.7637 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)