Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.005117/0.005117, allocations: 103 kB / 15.73 MB, free: 6.035 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.0009952/0.0009952, allocations: 189.8 kB / 16.67 MB, free: 5.965 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9209/0.9209, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 71.89 kB / 0.5955 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4635, allocations: 82.02 MB / 0.6756 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1701/0.6336, allocations: 161.6 MB / 0.8334 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002857/0.6365, allocations: 1.706 MB / 0.835 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.6367, allocations: 15.94 kB / 0.8351 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.6373, allocations: 158.9 kB / 0.8352 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.6385, allocations: 0.5095 MB / 0.8357 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.6395, allocations: 430.5 kB / 0.8361 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007069/0.6402, allocations: 0.5654 MB / 0.8367 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.6405, allocations: 176.5 kB / 0.8368 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.6411, allocations: 322.7 kB / 0.8372 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.6413, allocations: 147.3 kB / 0.8373 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.6413, allocations: 12 kB / 0.8373 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.6424, allocations: 0.6976 MB / 0.838 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.6425, allocations: 83.72 kB / 0.8381 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.6426, allocations: 119.3 kB / 0.8382 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006899/0.6433, allocations: 0.5121 MB / 0.8387 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6433, allocations: 0 / 0.8387 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6433, allocations: 0 / 0.8387 GB, free: 14.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6433, allocations: 0 / 0.8387 GB, free: 14.91 MB / 0.67 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.0007572/0.6441, allocations: 0.5772 MB / 0.8392 GB, free: 14.29 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6441, allocations: 15.97 kB / 0.8393 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.6444, allocations: 55.67 kB / 0.8393 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.6449, allocations: 305.2 kB / 0.8396 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6449, allocations: 12 kB / 0.8396 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.6449, allocations: 12 kB / 0.8396 GB, free: 13.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.6453, allocations: 200.1 kB / 0.8398 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.6453, allocations: 0 / 0.8398 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.6453, allocations: 8 kB / 0.8398 GB, free: 13.63 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6454, allocations: 4 kB / 0.8398 GB, free: 13.63 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.6456, allocations: 119.9 kB / 0.8399 GB, free: 13.51 MB / 0.67 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.000926/0.6466, allocations: 0.7892 MB / 0.8407 GB, free: 12.65 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.6468, allocations: 86.47 kB / 0.8408 GB, free: 12.56 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.647, allocations: 76.88 kB / 0.8409 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.6472, allocations: 186.2 kB / 0.841 GB, free: 12.26 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.6473, allocations: 38.56 kB / 0.8411 GB, free: 12.21 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.6473, allocations: 0 / 0.8411 GB, free: 12.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006044/0.6479, allocations: 225.1 kB / 0.8413 GB, free: 11.99 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.6479, allocations: 55.41 kB / 0.8414 GB, free: 11.92 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.6482, allocations: 267 kB / 0.8416 GB, free: 11.66 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.6482, allocations: 25.7 kB / 0.8416 GB, free: 11.63 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.6483, allocations: 148 kB / 0.8418 GB, free: 11.48 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.6483, allocations: 35.45 kB / 0.8418 GB, free: 11.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.6484, allocations: 29.7 kB / 0.8418 GB, free: 11.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6485, allocations: 334.8 kB / 0.8422 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.6486, allocations: 48.81 kB / 0.8422 GB, free: 11.02 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.6488, allocations: 89.05 kB / 0.8423 GB, free: 10.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.649, allocations: 127.3 kB / 0.8424 GB, free: 10.78 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6491, allocations: 0 / 0.8424 GB, free: 10.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003151/0.6494, allocations: 153.3 kB / 0.8426 GB, free: 10.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6494, allocations: 11.98 kB / 0.8426 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6494, allocations: 0 / 0.8426 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6494, allocations: 7.969 kB / 0.8426 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.6495, allocations: 19.98 kB / 0.8426 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6496, allocations: 7.938 kB / 0.8426 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.6497, allocations: 19.92 kB / 0.8426 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.6497, allocations: 4 kB / 0.8426 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001776/0.6499, allocations: 148.1 kB / 0.8428 GB, free: 10.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001379/0.6501, allocations: 93.09 kB / 0.8428 GB, free: 10.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002234/0.6503, allocations: 119.4 kB / 0.843 GB, free: 10.17 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.6503, allocations: 0.75 kB / 0.843 GB, free: 10.17 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000298/0.6506, allocations: 157.3 kB / 0.8431 GB, free: 10.01 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.6506, allocations: 8 kB / 0.8431 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/0.6506, allocations: 0 / 0.8431 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-06/0.6506, allocations: 4 kB / 0.8431 GB, free: 9.996 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.6507, allocations: 27.86 kB / 0.8432 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-06/0.6508, allocations: 0 / 0.8432 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.6509, allocations: 15.92 kB / 0.8432 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.6509, allocations: 15.92 kB / 0.8432 GB, free: 9.938 MB / 0.67 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.0001013/0.651, allocations: 192.3 kB / 0.8434 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.6511, allocations: 23.72 kB / 0.8434 GB, free: 9.719 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.6514, allocations: 159.2 kB / 0.8435 GB, free: 9.551 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.6515, allocations: 4 kB / 0.8435 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6515, allocations: 0 / 0.8435 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6515, allocations: 0 / 0.8435 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007889/0.6523, allocations: 0.5936 MB / 0.8441 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.6523, allocations: 224 / 0.8441 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.6524, allocations: 31.97 kB / 0.8442 GB, free: 8.844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.6524, allocations: 0 / 0.8442 GB, free: 8.844 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.6524, allocations: 8.125 kB / 0.8442 GB, free: 8.836 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6524, allocations: 8 kB / 0.8442 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6524, allocations: 3.938 kB / 0.8442 GB, free: 8.824 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.6528, allocations: 293.1 kB / 0.8445 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.6529, allocations: 116.7 kB / 0.8446 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.6529, allocations: 8 kB / 0.8446 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6531, allocations: 11.98 kB / 0.8446 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.6532, allocations: 16.11 kB / 0.8446 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.6532, allocations: 8 kB / 0.8446 GB, free: 8.324 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001665/0.6533, allocations: 190 kB / 0.8448 GB, free: 8.137 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.623e-06/0.6534, allocations: 0 / 0.8448 GB, free: 8.137 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000423/0.6538, allocations: 103.8 kB / 0.8449 GB, free: 8.035 MB / 0.67 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.0003591/0.6541, allocations: 185.4 kB / 0.8451 GB, free: 7.855 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.6546, allocations: 155.8 kB / 0.8452 GB, free: 7.703 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6546, allocations: 0 / 0.8452 GB, free: 7.703 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.6547, allocations: 72.39 kB / 0.8453 GB, free: 7.633 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.6554, allocations: 114 kB / 0.8454 GB, free: 7.523 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.6561, allocations: 433 kB / 0.8458 GB, free: 7.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.6564, allocations: 0.7518 MB / 0.8465 GB, free: 6.273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.6566, allocations: 69.88 kB / 0.8466 GB, free: 6.203 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.6566, allocations: 23.44 kB / 0.8466 GB, free: 6.18 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.6566, allocations: 0 / 0.8466 GB, free: 6.18 MB / 0.67 GB Notification: Performance of Templates: time 0.008253/0.6649, allocations: 4.495 MB / 0.851 GB, free: 1.754 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)