Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") translateModel(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 196.2 kB / 16.79 MB, free: 6.832 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.336/1.336, allocations: 222.9 MB / 240.5 MB, free: 4.527 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.9921/0.9921, allocations: 143 MB / 433.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.5141 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.165, allocations: 82.05 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.48/0.645, allocations: 181.1 MB / 0.7711 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007999/0.6531, allocations: 4.933 MB / 0.7759 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.6542, allocations: 27.81 kB / 0.7759 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.6554, allocations: 370 kB / 0.7763 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.6588, allocations: 1.336 MB / 0.7776 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.6608, allocations: 0.6963 MB / 0.7783 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002864/0.6637, allocations: 2.526 MB / 0.7807 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007704/0.6644, allocations: 0.5099 MB / 0.7812 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.6662, allocations: 0.7741 MB / 0.782 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.6675, allocations: 0.5616 MB / 0.7825 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.6676, allocations: 32 kB / 0.7826 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.6707, allocations: 1.617 MB / 0.7841 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.671, allocations: 243.3 kB / 0.7844 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.6715, allocations: 374 kB / 0.7847 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.673, allocations: 1.068 MB / 0.7858 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.673, allocations: 0 / 0.7858 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.32e-07/0.673, allocations: 0 / 0.7858 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.6731, allocations: 0 / 0.7858 GB, free: 9.656 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001855/0.6749, allocations: 1.101 MB / 0.7868 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.675, allocations: 8.031 kB / 0.7868 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.6764, allocations: 210.9 kB / 0.787 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.6773, allocations: 0.5848 MB / 0.7876 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.6773, allocations: 37 kB / 0.7877 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.6774, allocations: 48 kB / 0.7877 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.6783, allocations: 498.3 kB / 0.7882 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.6784, allocations: 4 kB / 0.7882 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.6784, allocations: 19.94 kB / 0.7882 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.6785, allocations: 17 kB / 0.7882 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008003/0.6793, allocations: 435.7 kB / 0.7886 GB, free: 6.625 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.002641/0.6819, allocations: 2.013 MB / 0.7906 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.6826, allocations: 352.2 kB / 0.7909 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.6829, allocations: 202.9 kB / 0.7911 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.6833, allocations: 202.5 kB / 0.7913 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.6833, allocations: 34.84 kB / 0.7914 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.6833, allocations: 0 / 0.7914 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001283/0.6846, allocations: 0.5487 MB / 0.7919 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.6847, allocations: 55.39 kB / 0.7919 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.6852, allocations: 0.5069 MB / 0.7924 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.6853, allocations: 33.7 kB / 0.7925 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.6855, allocations: 308.2 kB / 0.7928 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.6856, allocations: 114.3 kB / 0.7929 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.6858, allocations: 69.94 kB / 0.7929 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6859, allocations: 366.8 kB / 0.7933 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.6862, allocations: 142.1 kB / 0.7934 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.6866, allocations: 216 kB / 0.7936 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005727/0.6872, allocations: 338.2 kB / 0.7939 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6872, allocations: 0 / 0.7939 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007497/0.6879, allocations: 443.5 kB / 0.7944 GB, free: 428 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.688, allocations: 4.781 kB / 0.7944 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.688, allocations: 0 / 0.7944 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.688, allocations: 4 kB / 0.7944 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.6883, allocations: 75.84 kB / 0.7945 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6884, allocations: 7.922 kB / 0.7945 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.6889, allocations: 67.64 kB / 0.7945 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.689, allocations: 16 kB / 0.7945 GB, free: 252 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004787/0.6895, allocations: 304.1 kB / 0.7948 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000321/0.6898, allocations: 211.4 kB / 0.795 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005397/0.6903, allocations: 335.4 kB / 0.7954 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.6904, allocations: 0 / 0.7954 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000717/0.6911, allocations: 428.5 kB / 0.7958 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.6911, allocations: 4 kB / 0.7958 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.6911, allocations: 0 / 0.7958 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-06/0.6911, allocations: 4 kB / 0.7958 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.6914, allocations: 67.91 kB / 0.7958 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6915, allocations: 4.094 kB / 0.7958 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.692, allocations: 67.58 kB / 0.7959 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.692, allocations: 15.98 kB / 0.7959 GB, free: 14.79 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 (39): * Single equations (assignments): 39 * 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.0001592/0.6922, allocations: 200.2 kB / 0.7961 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.6923, allocations: 55.34 kB / 0.7962 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007886/0.6931, allocations: 419 kB / 0.7966 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.6931, allocations: 4 kB / 0.7966 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6931, allocations: 3.938 kB / 0.7966 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006201/0.6938, allocations: 441.6 kB / 0.797 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.6956, allocations: 1.17 MB / 0.7981 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6956, allocations: 4 kB / 0.7981 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.696, allocations: 83.88 kB / 0.7982 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.696, allocations: 7.984 kB / 0.7982 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.6961, allocations: 12 kB / 0.7982 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6961, allocations: 5.188 kB / 0.7982 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6961, allocations: 0 / 0.7982 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6972, allocations: 0.7028 MB / 0.7989 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.6975, allocations: 172.4 kB / 0.7991 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/0.6975, allocations: 11.98 kB / 0.7991 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.6981, allocations: 51.8 kB / 0.7992 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.6981, allocations: 23.97 kB / 0.7992 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.6982, allocations: 16 kB / 0.7992 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004338/0.6986, allocations: 358.8 kB / 0.7995 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6986, allocations: 7.938 kB / 0.7995 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008756/0.6995, allocations: 327.2 kB / 0.7999 GB, free: 10.58 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0004561/0.7, allocations: 195.6 kB / 0.8 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.701, allocations: 0.5159 MB / 0.8005 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.701, allocations: 4 kB / 0.8005 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.7013, allocations: 180.3 kB / 0.8007 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.7031, allocations: 370.5 kB / 0.8011 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.7054, allocations: 1.528 MB / 0.8026 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.7059, allocations: 0.9256 MB / 0.8035 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.7061, allocations: 55.42 kB / 0.8035 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.7061, allocations: 0 / 0.8035 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of Templates: time 0.01525/0.7213, allocations: 9.808 MB / 0.8131 GB, free: 13.1 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)