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.01101/0.01101, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00186/0.00186, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.707/1.707, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.589/1.589, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001488/0.001488, allocations: 75.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2706, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8171/1.088, allocations: 161.6 MB / 0.9859 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003849/1.092, allocations: 1.761 MB / 0.9876 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/1.092, allocations: 10.62 kB / 0.9876 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006998/1.093, allocations: 157.9 kB / 0.9877 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/1.095, allocations: 0.51 MB / 0.9882 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/1.096, allocations: 429.8 kB / 0.9887 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001062/1.097, allocations: 0.5682 MB / 0.9892 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/1.098, allocations: 175.9 kB / 0.9894 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/1.099, allocations: 316.4 kB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/1.099, allocations: 153.3 kB / 0.9898 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/1.099, allocations: 16.88 kB / 0.9898 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/1.1, allocations: 0.6895 MB / 0.9905 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/1.1, allocations: 82.47 kB / 0.9906 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/1.101, allocations: 117.3 kB / 0.9907 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008676/1.102, allocations: 0.4922 MB / 0.9912 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/1.102, allocations: 8 kB / 0.9912 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.194e-06/1.102, allocations: 3.469 kB / 0.9912 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.428e-06/1.102, allocations: 0 / 0.9912 GB, free: 12.33 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.001196/1.103, allocations: 0.5791 MB / 0.9918 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/1.103, allocations: 10.06 kB / 0.9918 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/1.103, allocations: 56.97 kB / 0.9918 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/1.104, allocations: 306.8 kB / 0.9921 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/1.104, allocations: 13.22 kB / 0.9921 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/1.104, allocations: 14.5 kB / 0.9921 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/1.104, allocations: 195.3 kB / 0.9923 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.104, allocations: 2.969 kB / 0.9923 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/1.104, allocations: 4 kB / 0.9923 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/1.104, allocations: 2.719 kB / 0.9923 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/1.105, allocations: 135.7 kB / 0.9925 GB, free: 11.26 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.00112/1.106, allocations: 0.7821 MB / 0.9932 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/1.106, allocations: 85.77 kB / 0.9933 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/1.106, allocations: 79.97 kB / 0.9934 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/1.107, allocations: 183.2 kB / 0.9936 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.107, allocations: 37.44 kB / 0.9936 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/1.107, allocations: 0 / 0.9936 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.000707/1.107, allocations: 222.1 kB / 0.9938 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.107, allocations: 54.38 kB / 0.9939 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/1.108, allocations: 270.3 kB / 0.9941 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/1.108, allocations: 25.7 kB / 0.9942 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.108, allocations: 148.9 kB / 0.9943 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/1.108, allocations: 38.77 kB / 0.9943 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/1.108, allocations: 38.77 kB / 0.9944 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.108, allocations: 331.1 kB / 0.9947 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/1.108, allocations: 46.53 kB / 0.9947 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/1.109, allocations: 96.02 kB / 0.9948 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/1.109, allocations: 123.1 kB / 0.9949 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.109, allocations: 0 / 0.9949 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003441/1.109, allocations: 149.7 kB / 0.9951 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.109, allocations: 4.844 kB / 0.9951 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.109, allocations: 0 / 0.9951 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.109, allocations: 14.42 kB / 0.9951 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/1.109, allocations: 27.86 kB / 0.9951 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.109, allocations: 2.688 kB / 0.9951 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/1.11, allocations: 16.89 kB / 0.9951 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/1.11, allocations: 5.406 kB / 0.9951 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001998/1.11, allocations: 144.7 kB / 0.9953 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001661/1.11, allocations: 94.81 kB / 0.9954 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002401/1.11, allocations: 117.5 kB / 0.9955 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/1.11, allocations: 0 / 0.9955 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003272/1.111, allocations: 165.2 kB / 0.9956 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/1.111, allocations: 5 kB / 0.9957 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/1.111, allocations: 0 / 0.9957 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-06/1.111, allocations: 3.094 kB / 0.9957 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/1.111, allocations: 18.77 kB / 0.9957 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/1.111, allocations: 6.812 kB / 0.9957 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/1.111, allocations: 16.45 kB / 0.9957 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/1.111, allocations: 5.469 kB / 0.9957 GB, free: 8.594 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.0001477/1.111, allocations: 200.6 kB / 0.9959 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/1.111, allocations: 21.97 kB / 0.9959 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/1.112, allocations: 168.1 kB / 0.9961 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.112, allocations: 3.938 kB / 0.9961 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.112, allocations: 0 / 0.9961 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.112, allocations: 0 / 0.9961 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/1.112, allocations: 0.5896 MB / 0.9967 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.112, allocations: 5.781 kB / 0.9967 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/1.113, allocations: 27.05 kB / 0.9967 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.113, allocations: 1.906 kB / 0.9967 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/1.113, allocations: 6.828 kB / 0.9967 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.113, allocations: 6.75 kB / 0.9967 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.113, allocations: 4.406 kB / 0.9967 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/1.113, allocations: 290 kB / 0.997 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/1.113, allocations: 115.5 kB / 0.9971 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/1.113, allocations: 1.812 kB / 0.9971 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/1.113, allocations: 15.55 kB / 0.9971 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/1.114, allocations: 20.48 kB / 0.9971 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/1.114, allocations: 5.5 kB / 0.9971 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001989/1.114, allocations: 194 kB / 0.9973 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.114, allocations: 0 / 0.9973 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004693/1.114, allocations: 97.86 kB / 0.9974 GB, free: 7.176 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.0004258/1.115, allocations: 162.8 kB / 0.9976 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004829/1.115, allocations: 174.2 kB / 0.9977 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.115, allocations: 0 / 0.9977 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/1.115, allocations: 63.7 kB / 0.9978 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/1.116, allocations: 119.6 kB / 0.9979 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/1.117, allocations: 440.3 kB / 0.9983 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/1.117, allocations: 0.7545 MB / 0.9991 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000197/1.117, allocations: 77.45 kB / 0.9991 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/1.117, allocations: 19.91 kB / 0.9992 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of SimCode: time 5.92e-07/1.117, allocations: 0 / 0.9992 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of Templates: time 0.00934/1.127, allocations: 4.398 MB / 1.003 GB, free: 3.594 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)