Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.testDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay") translateModel(IndustrialControlSystems.LinearSystems.Examples.testDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 110.4 kB / 16.42 MB, free: 6.457 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.00134/0.00134, allocations: 190.7 kB / 17.35 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05734/0.05734, allocations: 10.75 MB / 281.3 MB, free: 1.273 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 67.7 kB / 391.5 MB, free: 45.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07024/0.07184, allocations: 49.03 MB / 440.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.testDelay): time 0.001983/0.07385, allocations: 1.51 MB / 442 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.07456, allocations: 0.558 MB / 442.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.07463, allocations: 3.938 kB / 442.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.154e-05/0.07472, allocations: 11.86 kB / 442.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.07476, allocations: 11.88 kB / 442.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.07504, allocations: 59.81 kB / 442.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.07518, allocations: 79.83 kB / 442.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.07527, allocations: 19.97 kB / 442.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.07535, allocations: 39.84 kB / 442.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.07541, allocations: 27.86 kB / 442.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.07544, allocations: 4 kB / 442.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.07546, allocations: 8 kB / 442.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.0755, allocations: 23.86 kB / 442.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.07557, allocations: 55.72 kB / 442.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.07568, allocations: 107.6 kB / 443 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.07569, allocations: 0 / 443 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0757, allocations: 4 kB / 443 MB, free: 1.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.07571, allocations: 0 / 443 MB, free: 1.273 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004523/0.07617, allocations: 0.5139 MB / 443.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.07621, allocations: 11.89 kB / 443.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.07626, allocations: 16.75 kB / 443.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.07639, allocations: 196.1 kB / 443.8 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.07641, allocations: 4.375 kB / 443.8 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.07643, allocations: 12.31 kB / 443.8 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.07664, allocations: 157.4 kB / 443.9 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.07665, allocations: 4 kB / 443.9 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.07667, allocations: 3.984 kB / 444 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.07668, allocations: 4 kB / 444 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.07681, allocations: 80.12 kB / 444 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.0773, allocations: 0.4895 MB / 444.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.07748, allocations: 122.5 kB / 444.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.07762, allocations: 104.9 kB / 444.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.07765, allocations: 0 / 444.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.07793, allocations: 218.7 kB / 445 MB, free: 15.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.07794, allocations: 0 / 445 MB, free: 15.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0005478/0.07849, allocations: 400.5 kB / 445.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.07862, allocations: 231.9 kB / 445.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.07873, allocations: 138 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.07878, allocations: 41.7 kB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.07884, allocations: 108.5 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.0789, allocations: 67.27 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.079, allocations: 69.83 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.07911, allocations: 338.8 kB / 446.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.07925, allocations: 68.56 kB / 446.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.07949, allocations: 259.7 kB / 446.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007356/0.08024, allocations: 0.6692 MB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.08025, allocations: 4 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007256/0.08098, allocations: 0.5158 MB / 447.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.08104, allocations: 59.41 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.08106, allocations: 11.94 kB / 447.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.08108, allocations: 8.75 kB / 447.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.08128, allocations: 59.84 kB / 448 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.0813, allocations: 16 kB / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.08147, allocations: 39.67 kB / 448 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.08151, allocations: 16 kB / 448 MB, free: 11.75 MB / 334.1 MB Warning: Assuming fixed start value for the following 22 variables: multiStepsDelay.y:DISCRETE(flow=false fixed = true ) "output" type: Real multiStepsDelay.buffer[10]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[9]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[8]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[7]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[6]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[5]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[4]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[3]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[2]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay.buffer[1]:DISCRETE(start = multiStepsDelay.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.y:DISCRETE(flow=false fixed = true ) "output" type: Real multiStepsDelay_Init.buffer[10]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[9]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[8]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[7]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[6]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[5]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[4]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[3]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[2]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] multiStepsDelay_Init.buffer[1]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = true protected = true ) type: Real [10] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.multiStepsDelay.y,multiStepsDelay.y,$PRE.multiStepsDelay.buffer[10],multiStepsDelay.buffer[10],$PRE.multiStepsDelay.buffer[9],multiStepsDelay.buffer[9],$PRE.multiStepsDelay.buffer[8],multiStepsDelay.buffer[8],$PRE.multiStepsDelay.buffer[7],multiStepsDelay.buffer[7],$PRE.multiStepsDelay.buffer[6],multiStepsDelay.buffer[6],$PRE.multiStepsDelay.buffer[5],multiStepsDelay.buffer[5],$PRE.multiStepsDelay.buffer[4],multiStepsDelay.buffer[4],$PRE.multiStepsDelay.buffer[3],multiStepsDelay.buffer[3],$PRE.multiStepsDelay.buffer[2],multiStepsDelay.buffer[2],$PRE.multiStepsDelay.buffer[1],multiStepsDelay.buffer[1],$PRE.multiStepsDelay_Init.y,multiStepsDelay_Init.y,$PRE.multiStepsDelay_Init.buffer[10],multiStepsDelay_Init.buffer[10],$PRE.multiStepsDelay_Init.buffer[9],multiStepsDelay_Init.buffer[9],$PRE.multiStepsDelay_Init.buffer[8],multiStepsDelay_Init.buffer[8],$PRE.multiStepsDelay_Init.buffer[7],multiStepsDelay_Init.buffer[7],$PRE.multiStepsDelay_Init.buffer[6],multiStepsDelay_Init.buffer[6],$PRE.multiStepsDelay_Init.buffer[5],multiStepsDelay_Init.buffer[5],$PRE.multiStepsDelay_Init.buffer[4],multiStepsDelay_Init.buffer[4],$PRE.multiStepsDelay_Init.buffer[3],multiStepsDelay_Init.buffer[3],$PRE.multiStepsDelay_Init.buffer[2],multiStepsDelay_Init.buffer[2],$PRE.multiStepsDelay_Init.buffer[1],multiStepsDelay_Init.buffer[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * 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.0003536/0.08187, allocations: 364.8 kB / 448.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.08191, allocations: 15.91 kB / 448.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.08194, allocations: 13.19 kB / 448.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.08195, allocations: 3.984 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.08196, allocations: 4 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.08202, allocations: 92.86 kB / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.08211, allocations: 51.91 kB / 448.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.08219, allocations: 8 kB / 448.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.08224, allocations: 11.92 kB / 448.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007815/0.08303, allocations: 0.827 MB / 449.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006473/0.08369, allocations: 0.6859 MB / 450.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002681/0.08397, allocations: 291.8 kB / 450.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.302e-05/0.08403, allocations: 99.25 kB / 450.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of Backend: time 5.31e-07/0.08403, allocations: 0 / 450.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.08471, allocations: 419.1 kB / 450.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009014/0.08562, allocations: 1.007 MB / 451.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of Templates: time 0.006676/0.09231, allocations: 3.504 MB / 455.4 MB, free: 4.176 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.testDelay.pipe 2>&1)