Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008974/0.008974, allocations: 99.98 kB / 15.73 MB, free: 6.496 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.001618/0.001618, allocations: 199 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 251.7 MB / 0.5094 GB, free: 3.113 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.42 kB / 0.7258 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2757, allocations: 104.7 MB / 0.828 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8598/1.136, allocations: 161.6 MB / 0.9859 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004219/1.14, allocations: 1.757 MB / 0.9876 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/1.141, allocations: 10.44 kB / 0.9876 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008568/1.142, allocations: 156.4 kB / 0.9878 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/1.144, allocations: 0.5322 MB / 0.9883 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/1.146, allocations: 423.1 kB / 0.9887 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001455/1.147, allocations: 0.5656 MB / 0.9892 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/1.148, allocations: 191.7 kB / 0.9894 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/1.149, allocations: 324.7 kB / 0.9897 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/1.149, allocations: 152.8 kB / 0.9899 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/1.149, allocations: 17.84 kB / 0.9899 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/1.151, allocations: 0.6957 MB / 0.9906 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/1.151, allocations: 78.58 kB / 0.9906 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002605/1.151, allocations: 123.1 kB / 0.9908 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/1.153, allocations: 0.492 MB / 0.9912 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/1.153, allocations: 3.984 kB / 0.9912 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/1.153, allocations: 6.812 kB / 0.9913 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.153, allocations: 0 / 0.9913 GB, free: 12.36 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001254/1.154, allocations: 0.5817 MB / 0.9918 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.154, allocations: 8.031 kB / 0.9918 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/1.154, allocations: 51.73 kB / 0.9919 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/1.155, allocations: 306.8 kB / 0.9922 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.155, allocations: 11.88 kB / 0.9922 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/1.155, allocations: 18.72 kB / 0.9922 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/1.156, allocations: 191.8 kB / 0.9924 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.156, allocations: 7.938 kB / 0.9924 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/1.156, allocations: 4 kB / 0.9924 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.156, allocations: 5.031 kB / 0.9924 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/1.156, allocations: 134.4 kB / 0.9925 GB, free: 11.29 MB / 0.7481 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.001247/1.157, allocations: 0.7773 MB / 0.9933 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/1.157, allocations: 79.56 kB / 0.9934 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/1.158, allocations: 82.67 kB / 0.9934 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/1.158, allocations: 186.9 kB / 0.9936 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/1.158, allocations: 33.09 kB / 0.9937 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/1.158, allocations: 0 / 0.9937 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0007237/1.159, allocations: 225.9 kB / 0.9939 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/1.159, allocations: 54.31 kB / 0.9939 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/1.159, allocations: 264.7 kB / 0.9942 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/1.159, allocations: 32.17 kB / 0.9942 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.159, allocations: 145.2 kB / 0.9943 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/1.159, allocations: 34.02 kB / 0.9944 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/1.159, allocations: 29 kB / 0.9944 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.16, allocations: 342.2 kB / 0.9947 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.16, allocations: 45.67 kB / 0.9948 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/1.16, allocations: 103.2 kB / 0.9949 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/1.16, allocations: 119.6 kB / 0.995 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.16, allocations: 0 / 0.995 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003979/1.161, allocations: 158.5 kB / 0.9951 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.161, allocations: 5.094 kB / 0.9951 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.161, allocations: 0 / 0.9951 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/1.161, allocations: 7.094 kB / 0.9951 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/1.161, allocations: 23.11 kB / 0.9952 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.161, allocations: 2.625 kB / 0.9952 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/1.161, allocations: 19.98 kB / 0.9952 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/1.161, allocations: 9.516 kB / 0.9952 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002159/1.161, allocations: 150.2 kB / 0.9953 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001674/1.162, allocations: 91.45 kB / 0.9954 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002492/1.162, allocations: 116.8 kB / 0.9955 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/1.162, allocations: 0 / 0.9955 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000359/1.162, allocations: 152.9 kB / 0.9957 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.162, allocations: 12.8 kB / 0.9957 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.162, allocations: 1.625 kB / 0.9957 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/1.162, allocations: 1.641 kB / 0.9957 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/1.162, allocations: 31.53 kB / 0.9957 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.162, allocations: 5.531 kB / 0.9957 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/1.163, allocations: 16.36 kB / 0.9958 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/1.163, allocations: 4 kB / 0.9958 GB, free: 8.621 MB / 0.7481 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.163, allocations: 190 kB / 0.9959 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/1.163, allocations: 27.62 kB / 0.996 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/1.163, allocations: 160.1 kB / 0.9961 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.163, allocations: 6.406 kB / 0.9961 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.163, allocations: 0 / 0.9961 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.163, allocations: 3.984 kB / 0.9961 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/1.164, allocations: 0.5859 MB / 0.9967 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.164, allocations: 6.781 kB / 0.9967 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/1.165, allocations: 24.95 kB / 0.9967 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.165, allocations: 7.469 kB / 0.9967 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/1.165, allocations: 10.72 kB / 0.9967 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.165, allocations: 2.094 kB / 0.9967 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.165, allocations: 2.625 kB / 0.9967 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/1.165, allocations: 299.4 kB / 0.997 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.165, allocations: 105 kB / 0.9971 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/1.165, allocations: 6.812 kB / 0.9971 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/1.165, allocations: 15.75 kB / 0.9972 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/1.166, allocations: 16.59 kB / 0.9972 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/1.166, allocations: 5.281 kB / 0.9972 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001915/1.166, allocations: 198.4 kB / 0.9974 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.166, allocations: 0 / 0.9974 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005042/1.166, allocations: 93.69 kB / 0.9975 GB, free: 7.207 MB / 0.7481 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004901/1.167, allocations: 169.4 kB / 0.9976 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004947/1.167, allocations: 166.3 kB / 0.9978 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.167, allocations: 0 / 0.9978 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.167, allocations: 66.89 kB / 0.9978 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/1.168, allocations: 118.8 kB / 0.998 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/1.169, allocations: 444.6 kB / 0.9984 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/1.169, allocations: 0.7537 MB / 0.9991 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002768/1.17, allocations: 70.17 kB / 0.9992 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/1.17, allocations: 19.69 kB / 0.9992 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/1.17, allocations: 0 / 0.9992 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of Templates: time 0.01118/1.181, allocations: 4.394 MB / 1.003 GB, free: 3.633 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)