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.005709/0.005709, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00126/0.00126, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.8142/0.8142, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 56.97 kB / 0.5955 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1417, allocations: 82.04 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5404/0.6822, allocations: 161.5 MB / 0.8334 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.6848, allocations: 1.719 MB / 0.8351 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.685, allocations: 9.219 kB / 0.8351 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.6855, allocations: 151.7 kB / 0.8352 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.6865, allocations: 0.5177 MB / 0.8357 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008771/0.6874, allocations: 427.7 kB / 0.8361 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.6881, allocations: 0.5702 MB / 0.8367 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.6883, allocations: 178.8 kB / 0.8368 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.6888, allocations: 318.2 kB / 0.8372 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.689, allocations: 150.2 kB / 0.8373 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.6891, allocations: 12.28 kB / 0.8373 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.6899, allocations: 0.7002 MB / 0.838 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.69, allocations: 77.27 kB / 0.8381 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.6902, allocations: 126.1 kB / 0.8382 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.6908, allocations: 0.5057 MB / 0.8387 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6908, allocations: 0 / 0.8387 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6908, allocations: 0 / 0.8387 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6908, allocations: 2.875 kB / 0.8387 GB, free: 3.492 MB / 0.6075 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.0007106/0.6915, allocations: 0.5807 MB / 0.8392 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.6915, allocations: 10.19 kB / 0.8393 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.6919, allocations: 55.56 kB / 0.8393 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.6922, allocations: 303.6 kB / 0.8396 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.6922, allocations: 8.406 kB / 0.8396 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.6923, allocations: 14.09 kB / 0.8396 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.6926, allocations: 197.4 kB / 0.8398 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6927, allocations: 0 / 0.8398 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.6927, allocations: 4 kB / 0.8398 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6927, allocations: 5.031 kB / 0.8398 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.693, allocations: 127 kB / 0.8399 GB, free: 2.434 MB / 0.6075 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.0009062/0.6939, allocations: 0.7924 MB / 0.8407 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.6941, allocations: 83.88 kB / 0.8408 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.6943, allocations: 76.52 kB / 0.8409 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.6945, allocations: 184.8 kB / 0.841 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.6945, allocations: 37.03 kB / 0.8411 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.6945, allocations: 4 kB / 0.8411 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000612/0.6952, allocations: 223 kB / 0.8413 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.6952, allocations: 54.22 kB / 0.8413 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.6954, allocations: 265.1 kB / 0.8416 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.6955, allocations: 32.7 kB / 0.8416 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.6955, allocations: 142 kB / 0.8418 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.6956, allocations: 40.23 kB / 0.8418 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.6956, allocations: 23.81 kB / 0.8418 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6957, allocations: 338.1 kB / 0.8422 GB, free: 464 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.6959, allocations: 43.98 kB / 0.8422 GB, free: 440 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.696, allocations: 92.97 kB / 0.8423 GB, free: 360 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.6963, allocations: 118.1 kB / 0.8424 GB, free: 280 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6963, allocations: 2.781 kB / 0.8424 GB, free: 280 kB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003287/0.6966, allocations: 161.1 kB / 0.8425 GB, free: 180 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.6966, allocations: 4.844 kB / 0.8426 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6967, allocations: 0.5625 kB / 0.8426 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6967, allocations: 6.188 kB / 0.8426 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.6968, allocations: 25.8 kB / 0.8426 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.6968, allocations: 0 / 0.8426 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.697, allocations: 22.55 kB / 0.8426 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.697, allocations: 9.922 kB / 0.8426 GB, free: 152 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001775/0.6972, allocations: 152.3 kB / 0.8428 GB, free: 28 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000161/0.6974, allocations: 92.11 kB / 0.8428 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002304/0.6976, allocations: 123.5 kB / 0.843 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.6976, allocations: 0 / 0.843 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.00029/0.6979, allocations: 153 kB / 0.8431 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.6979, allocations: 9.234 kB / 0.8431 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.6979, allocations: 2.5 kB / 0.8431 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-06/0.6979, allocations: 0 / 0.8431 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6981, allocations: 21.33 kB / 0.8431 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6981, allocations: 10.69 kB / 0.8432 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.6982, allocations: 23.27 kB / 0.8432 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.6983, allocations: 9.156 kB / 0.8432 GB, free: 15.75 MB / 0.6231 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 8.808e-05/0.6983, allocations: 186.8 kB / 0.8434 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.6984, allocations: 24.28 kB / 0.8434 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.6987, allocations: 155.1 kB / 0.8435 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6988, allocations: 6.594 kB / 0.8435 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6988, allocations: 4 kB / 0.8435 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6988, allocations: 3.984 kB / 0.8435 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008187/0.6996, allocations: 0.5894 MB / 0.8441 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6996, allocations: 3 kB / 0.8441 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.6997, allocations: 24.95 kB / 0.8442 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.6997, allocations: 3.062 kB / 0.8442 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.6998, allocations: 6.719 kB / 0.8442 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6998, allocations: 2.094 kB / 0.8442 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6998, allocations: 2.75 kB / 0.8442 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.7001, allocations: 303.9 kB / 0.8445 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.7002, allocations: 113 kB / 0.8446 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.7003, allocations: 10.64 kB / 0.8446 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.7005, allocations: 15.67 kB / 0.8446 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.7005, allocations: 9.031 kB / 0.8446 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.7005, allocations: 9.125 kB / 0.8446 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001625/0.7007, allocations: 198.4 kB / 0.8448 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7007, allocations: 4 kB / 0.8448 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004097/0.7011, allocations: 89.62 kB / 0.8449 GB, free: 14.34 MB / 0.6231 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.0003212/0.7015, allocations: 170.8 kB / 0.845 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.7019, allocations: 166 kB / 0.8452 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7019, allocations: 4.125 kB / 0.8452 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.702, allocations: 63.02 kB / 0.8453 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.7027, allocations: 115.4 kB / 0.8454 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.7033, allocations: 442.6 kB / 0.8458 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.7036, allocations: 0.7542 MB / 0.8465 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.7038, allocations: 71.38 kB / 0.8466 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.7038, allocations: 24.06 kB / 0.8466 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.7038, allocations: 0 / 0.8466 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.009357/0.7132, allocations: 4.435 MB / 0.851 GB, free: 9.859 MB / 0.6231 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)