Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4142/0.4166, allocations: 80.82 MB / 0.5904 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7059/1.123, allocations: 183.1 MB / 0.7692 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008099/1.131, allocations: 4.273 MB / 0.7734 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/1.133, allocations: 28 kB / 0.7734 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/1.134, allocations: 0.5091 MB / 0.7739 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/1.139, allocations: 1.275 MB / 0.7751 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/1.141, allocations: 0.9147 MB / 0.776 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003798/1.145, allocations: 2.223 MB / 0.7782 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/1.146, allocations: 0.6836 MB / 0.7789 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/1.149, allocations: 1.039 MB / 0.7799 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/1.151, allocations: 0.6392 MB / 0.7805 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003547/1.152, allocations: 80.56 kB / 0.7806 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/1.155, allocations: 1.178 MB / 0.7817 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006902/1.156, allocations: 348.6 kB / 0.7821 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001466/1.157, allocations: 0.4959 MB / 0.7825 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003841/1.161, allocations: 1.566 MB / 0.7841 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.161, allocations: 0 / 0.7841 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/1.161, allocations: 4.344 kB / 0.7841 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.788e-05/1.161, allocations: 0 / 0.7841 GB, free: 1.336 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003667/1.165, allocations: 1.212 MB / 0.7853 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/1.165, allocations: 10.94 kB / 0.7853 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/1.166, allocations: 210 kB / 0.7855 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/1.167, allocations: 0.6177 MB / 0.7861 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.167, allocations: 42.72 kB / 0.7861 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/1.168, allocations: 63 kB / 0.7862 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/1.17, allocations: 0.7617 MB / 0.7869 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/1.17, allocations: 0 / 0.7869 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/1.17, allocations: 31.78 kB / 0.7869 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/1.17, allocations: 22.12 kB / 0.787 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/1.172, allocations: 0.6748 MB / 0.7876 GB, free: 16.25 MB / 0.5919 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.004144/1.176, allocations: 2.467 MB / 0.79 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/1.177, allocations: 0.494 MB / 0.7905 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/1.178, allocations: 207.5 kB / 0.7907 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/1.178, allocations: 5.812 kB / 0.7907 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/1.178, allocations: 41.7 kB / 0.7908 GB, free: 15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 3.546e-06/1.178, allocations: 3.188 kB / 0.7908 GB, free: 15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.002849/1.181, allocations: 0.8273 MB / 0.7916 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/1.181, allocations: 56 kB / 0.7916 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/1.181, allocations: 0.6115 MB / 0.7922 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/1.182, allocations: 40.42 kB / 0.7923 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/1.182, allocations: 349.6 kB / 0.7926 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/1.182, allocations: 122.5 kB / 0.7927 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.182, allocations: 87.39 kB / 0.7928 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001935/1.182, allocations: 378.3 kB / 0.7932 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/1.183, allocations: 217.2 kB / 0.7934 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/1.183, allocations: 330.4 kB / 0.7937 GB, free: 14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/1.184, allocations: 489.6 kB / 0.7941 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.184, allocations: 0 / 0.7941 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001404/1.186, allocations: 0.6006 MB / 0.7947 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.186, allocations: 5.062 kB / 0.7947 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.186, allocations: 2.875 kB / 0.7947 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.186, allocations: 3.375 kB / 0.7947 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/1.187, allocations: 116.1 kB / 0.7949 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.187, allocations: 3.562 kB / 0.7949 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/1.187, allocations: 87.16 kB / 0.7949 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/1.187, allocations: 13.88 kB / 0.795 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005759/1.188, allocations: 345.9 kB / 0.7953 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003793/1.188, allocations: 268 kB / 0.7955 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005917/1.189, allocations: 391.7 kB / 0.7959 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/1.189, allocations: 3.938 kB / 0.7959 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0007801/1.19, allocations: 494.6 kB / 0.7964 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.19, allocations: 5.812 kB / 0.7964 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/1.19, allocations: 2.219 kB / 0.7964 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/1.19, allocations: 3.031 kB / 0.7964 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/1.19, allocations: 85.56 kB / 0.7965 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.19, allocations: 12.56 kB / 0.7965 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/1.191, allocations: 55.2 kB / 0.7965 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/1.191, allocations: 12.72 kB / 0.7966 GB, free: 13.49 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (48): * Single equations (assignments): 48 * 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.000243/1.191, allocations: 207.4 kB / 0.7968 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/1.191, allocations: 65.16 kB / 0.7968 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/1.192, allocations: 78.19 kB / 0.7969 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.192, allocations: 5.469 kB / 0.7969 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.192, allocations: 0 / 0.7969 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/1.193, allocations: 0.5482 MB / 0.7974 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/1.195, allocations: 1.319 MB / 0.7987 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.195, allocations: 3.438 kB / 0.7987 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/1.196, allocations: 119.6 kB / 0.7988 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.196, allocations: 2.969 kB / 0.7988 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/1.196, allocations: 16.75 kB / 0.7989 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.196, allocations: 5.031 kB / 0.7989 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.196, allocations: 3.562 kB / 0.7989 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/1.197, allocations: 0.9135 MB / 0.7998 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/1.198, allocations: 214.5 kB / 0.8 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/1.198, allocations: 18.36 kB / 0.8 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/1.199, allocations: 50.48 kB / 0.8 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/1.199, allocations: 27.44 kB / 0.8001 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/1.199, allocations: 28.92 kB / 0.8001 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005001/1.199, allocations: 436.4 kB / 0.8005 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/1.199, allocations: 0.9375 kB / 0.8005 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009769/1.2, allocations: 376.6 kB / 0.8009 GB, free: 12.24 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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 (35): * Single equations (assignments): 35 * 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.0004113/1.201, allocations: 172 kB / 0.801 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001604/1.202, allocations: 0.7293 MB / 0.8017 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.202, allocations: 2.094 kB / 0.8017 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/1.203, allocations: 248.6 kB / 0.802 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.205, allocations: 428 kB / 0.8024 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/1.207, allocations: 1.465 MB / 0.8038 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/1.208, allocations: 0.9616 MB / 0.8047 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008838/1.209, allocations: 198.8 kB / 0.8049 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.209, allocations: 56.55 kB / 0.805 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/1.209, allocations: 0 / 0.805 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of Templates: time 0.0256/1.235, allocations: 15.14 MB / 0.8198 GB, free: 5.617 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)