Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7148/0.7148, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009332/0.0009331, allocations: 94.25 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.938e-05, allocations: 6.25 kB / 0.56 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1903, allocations: 82.31 MB / 0.6404 GB, free: 7.812 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.022/5.212, allocations: 1.886 GB / 2.526 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/5.213, allocations: 89.64 kB / 2.526 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.947/7.159, allocations: 488.8 MB / 3.004 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.82e-07/7.159, allocations: 0 / 3.004 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.352e-05/7.159, allocations: 23.98 kB / 3.004 GB, free: 66.18 MB / 0.6823 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.001777/7.161, allocations: 0.9698 MB / 3.005 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/7.161, allocations: 8.031 kB / 3.005 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/7.162, allocations: 206.9 kB / 3.005 GB, free: 64.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/7.164, allocations: 0.632 MB / 3.005 GB, free: 64.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/7.164, allocations: 37 kB / 3.005 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/7.164, allocations: 48 kB / 3.005 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/7.164, allocations: 450.5 kB / 3.006 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/7.164, allocations: 0 / 3.006 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/7.164, allocations: 27.98 kB / 3.006 GB, free: 63.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/7.164, allocations: 13 kB / 3.006 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/7.165, allocations: 379.9 kB / 3.006 GB, free: 63.34 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002214/7.167, allocations: 2.013 MB / 3.008 GB, free: 61.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/7.168, allocations: 312.4 kB / 3.009 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/7.168, allocations: 190 kB / 3.009 GB, free: 60.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/7.168, allocations: 194.5 kB / 3.009 GB, free: 60.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/7.168, allocations: 42.8 kB / 3.009 GB, free: 60.37 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/7.168, allocations: 0 / 3.009 GB, free: 60.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0008091/7.169, allocations: 379 kB / 3.009 GB, free: 60 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/7.169, allocations: 55.41 kB / 3.009 GB, free: 59.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/7.17, allocations: 445 kB / 3.01 GB, free: 59.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/7.17, allocations: 37.7 kB / 3.01 GB, free: 59.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/7.17, allocations: 304.2 kB / 3.01 GB, free: 59.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/7.17, allocations: 118.2 kB / 3.01 GB, free: 59.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/7.17, allocations: 8 kB / 3.01 GB, free: 59.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/7.17, allocations: 362.8 kB / 3.011 GB, free: 58.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/7.17, allocations: 124.5 kB / 3.011 GB, free: 58.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/7.17, allocations: 202.7 kB / 3.011 GB, free: 58.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/7.17, allocations: 139.9 kB / 3.011 GB, free: 58.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/7.171, allocations: 0 / 3.011 GB, free: 58.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004854/7.171, allocations: 401 kB / 3.011 GB, free: 57.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/7.171, allocations: 367.9 kB / 3.012 GB, free: 57.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/7.171, allocations: 4.094 kB / 3.012 GB, free: 57.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/7.171, allocations: 4 kB / 3.012 GB, free: 57.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/7.171, allocations: 71.89 kB / 3.012 GB, free: 57.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/7.172, allocations: 4 kB / 3.012 GB, free: 57.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/7.172, allocations: 71.59 kB / 3.012 GB, free: 57.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/7.172, allocations: 11.98 kB / 3.012 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/7.172, allocations: 4 kB / 3.012 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004132/7.173, allocations: 311.6 kB / 3.012 GB, free: 56.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-06/7.173, allocations: 0 / 3.012 GB, free: 56.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/7.173, allocations: 8.094 kB / 3.012 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/7.173, allocations: 71.91 kB / 3.012 GB, free: 56.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/7.173, allocations: 0 / 3.012 GB, free: 56.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/7.173, allocations: 63.64 kB / 3.012 GB, free: 56.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/7.173, allocations: 16 kB / 3.012 GB, free: 56.75 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.6e-05/7.174, allocations: 120.9 kB / 3.012 GB, free: 56.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/7.174, allocations: 67.2 kB / 3.013 GB, free: 56.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/7.174, allocations: 391.1 kB / 3.013 GB, free: 56.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/7.174, allocations: 8 kB / 3.013 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/7.174, allocations: 4 kB / 3.013 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003688/7.175, allocations: 400.8 kB / 3.013 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/7.176, allocations: 1.137 MB / 3.014 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/7.176, allocations: 4.188 kB / 3.014 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/7.176, allocations: 87.89 kB / 3.014 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/7.176, allocations: 4 kB / 3.014 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/7.176, allocations: 11.98 kB / 3.014 GB, free: 54.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/7.176, allocations: 4 kB / 3.015 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/7.177, allocations: 0 / 3.015 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/7.177, allocations: 0.7524 MB / 3.015 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/7.177, allocations: 168.4 kB / 3.015 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/7.178, allocations: 11.98 kB / 3.015 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/7.178, allocations: 59.8 kB / 3.015 GB, free: 53.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/7.178, allocations: 23.92 kB / 3.015 GB, free: 53.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/7.178, allocations: 16.09 kB / 3.016 GB, free: 53.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003459/7.178, allocations: 365.4 kB / 3.016 GB, free: 52.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/7.178, allocations: 4 kB / 3.016 GB, free: 52.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001327/7.18, allocations: 443.3 kB / 3.016 GB, free: 52.5 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001772/7.182, allocations: 1.265 MB / 3.018 GB, free: 51.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007036/7.182, allocations: 490.8 kB / 3.018 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.182, allocations: 0 / 3.018 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/7.183, allocations: 167.8 kB / 3.018 GB, free: 50.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/7.184, allocations: 360.8 kB / 3.018 GB, free: 50.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/7.186, allocations: 0.9826 MB / 3.019 GB, free: 49.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/7.186, allocations: 0.95 MB / 3.02 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007647/7.187, allocations: 228.7 kB / 3.021 GB, free: 47.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/7.187, allocations: 39.44 kB / 3.021 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/7.187, allocations: 0 / 3.021 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of Templates: time 0.03829/7.225, allocations: 30.49 MB / 3.05 GB, free: 17.57 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)