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.0007982/0.0007982, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008565/0.0008566, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 270.9 kB / 291.4 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.000454, allocations: 15.41 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1976, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5753/0.7729, allocations: 220.6 MB / 0.8999 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.7898, allocations: 12.65 MB / 0.9123 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.7921, allocations: 47.62 kB / 0.9123 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.7949, allocations: 0.6441 MB / 0.913 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.7996, allocations: 1.424 MB / 0.9143 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.8028, allocations: 1.032 MB / 0.9154 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005589/0.8084, allocations: 3.893 MB / 0.9192 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.81, allocations: 0.7841 MB / 0.9199 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009403/0.8194, allocations: 3.085 MB / 0.9229 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.8218, allocations: 0.8906 MB / 0.9238 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/0.822, allocations: 48 kB / 0.9239 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.8236, allocations: 375.2 kB / 0.9242 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.824, allocations: 406.7 kB / 0.9246 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.8245, allocations: 288.9 kB / 0.9249 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.8256, allocations: 1.056 MB / 0.9259 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8257, allocations: 4 kB / 0.9259 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.043e-06/0.8257, allocations: 0 / 0.9259 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.8257, allocations: 0 / 0.9259 GB, free: 8.965 MB / 0.6387 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.002244/0.8279, allocations: 1.398 MB / 0.9273 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.828, allocations: 12.03 kB / 0.9273 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006225/0.8286, allocations: 194.1 kB / 0.9275 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.8298, allocations: 0.7968 MB / 0.9282 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.83, allocations: 121.3 kB / 0.9284 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.8301, allocations: 88 kB / 0.9284 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.8315, allocations: 0.9182 MB / 0.9293 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.8316, allocations: 3.938 kB / 0.9293 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.8316, allocations: 32 kB / 0.9294 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.8317, allocations: 28 kB / 0.9294 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.8325, allocations: 0.5071 MB / 0.9299 GB, free: 4.668 MB / 0.6387 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.004562/0.8371, allocations: 4.892 MB / 0.9347 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.8377, allocations: 425.3 kB / 0.9351 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.8381, allocations: 275.8 kB / 0.9353 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.8383, allocations: 97.09 kB / 0.9354 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.8383, allocations: 54.44 kB / 0.9355 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.8383, allocations: 0 / 0.9355 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001735/0.8401, allocations: 0.8133 MB / 0.9363 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.8403, allocations: 401.5 kB / 0.9367 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.8417, allocations: 1.252 MB / 0.9379 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.8417, allocations: 41.7 kB / 0.9379 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.8422, allocations: 0.5457 MB / 0.9385 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.8423, allocations: 114.4 kB / 0.9386 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.8423, allocations: 4 kB / 0.9386 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8424, allocations: 321.9 kB / 0.9389 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.8426, allocations: 95.94 kB / 0.939 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.843, allocations: 339.5 kB / 0.9393 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.8432, allocations: 148 kB / 0.9394 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8433, allocations: 0 / 0.9394 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000886/0.8441, allocations: 0.4937 MB / 0.9399 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.8442, allocations: 6.5 kB / 0.9399 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.8442, allocations: 7.938 kB / 0.9399 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002734/0.8445, allocations: 75.83 kB / 0.94 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.8447, allocations: 59.91 kB / 0.9401 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.847, allocations: 3.017 MB / 0.943 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008155/0.8478, allocations: 117 kB / 0.9431 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.8479, allocations: 27.97 kB / 0.9432 GB, free: 6.016 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.8483, allocations: 274.7 kB / 0.9434 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/0.8487, allocations: 138.3 kB / 0.9435 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.8489, allocations: 124 kB / 0.9437 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.8489, allocations: 4 kB / 0.9437 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.8489, allocations: 16.05 kB / 0.9437 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.8489, allocations: 7.938 kB / 0.9437 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.852, allocations: 2.528 MB / 0.9462 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.852, allocations: 8 kB / 0.9462 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.8522, allocations: 51.86 kB / 0.9462 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.8524, allocations: 70.02 kB / 0.9463 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.8524, allocations: 12 kB / 0.9463 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.855, allocations: 2.927 MB / 0.9492 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/0.855, allocations: 11.94 kB / 0.9492 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.8563, allocations: 0.6768 MB / 0.9498 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005107/0.8568, allocations: 251.4 kB / 0.9501 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.8569, allocations: 19.94 kB / 0.9501 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/0.8576, allocations: 71.78 kB / 0.9502 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.8577, allocations: 39.86 kB / 0.9502 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.8578, allocations: 23.92 kB / 0.9502 GB, free: 14.23 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00115/0.8589, allocations: 0.8646 MB / 0.9511 GB, free: 13.37 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8589, allocations: 0 / 0.9511 GB, free: 13.37 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001042/0.86, allocations: 259.8 kB / 0.9513 GB, free: 13.12 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004661/0.8605, allocations: 213.4 kB / 0.9515 GB, free: 12.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009413/0.8614, allocations: 0.521 MB / 0.952 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8614, allocations: 288 / 0.952 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005282/0.862, allocations: 414.9 kB / 0.9524 GB, free: 11.94 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/0.8656, allocations: 0.7536 MB / 0.9531 GB, free: 11.19 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.8688, allocations: 2.064 MB / 0.9552 GB, free: 9.023 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.8695, allocations: 1.142 MB / 0.9563 GB, free: 7.852 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008472/0.8704, allocations: 247 kB / 0.9565 GB, free: 7.605 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.8705, allocations: 75.44 kB / 0.9566 GB, free: 7.531 MB / 0.67 GB Notification: Performance of SimCode: time 3.446e-06/0.8705, allocations: 0 / 0.9566 GB, free: 7.531 MB / 0.67 GB Notification: Performance of Templates: time 0.04239/0.9129, allocations: 21.64 MB / 0.9777 GB, free: 2.281 MB / 0.6856 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)