Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9251/0.9251, allocations: 134 MB / 439 MB, free: 0.6602 MB / 334.1 MB [Timeout remaining time 89] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.003643/0.003643, allocations: 68.38 kB / 0.6087 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2561, allocations: 84.67 MB / 0.6914 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003509/0.2596, allocations: 1.419 MB / 0.6928 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.2606, allocations: 450.8 kB / 0.6932 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.2607, allocations: 0 / 0.6932 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.2607, allocations: 7.922 kB / 0.6932 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2608, allocations: 15.88 kB / 0.6932 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.261, allocations: 15.98 kB / 0.6932 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.2612, allocations: 55.83 kB / 0.6933 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2613, allocations: 8 kB / 0.6933 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.2614, allocations: 27.86 kB / 0.6933 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.2615, allocations: 15.92 kB / 0.6933 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.2615, allocations: 4 kB / 0.6934 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.94e-05/0.2615, allocations: 4 kB / 0.6934 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.2615, allocations: 3.938 kB / 0.6934 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.2616, allocations: 23.92 kB / 0.6934 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.2618, allocations: 47.75 kB / 0.6934 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2618, allocations: 3.938 kB / 0.6934 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2618, allocations: 0 / 0.6934 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2618, allocations: 0 / 0.6934 GB, free: 7.699 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007967/0.2626, allocations: 401 kB / 0.6938 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.2626, allocations: 8.031 kB / 0.6938 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.2627, allocations: 4.938 kB / 0.6938 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.2629, allocations: 180.2 kB / 0.694 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2629, allocations: 384 / 0.694 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2629, allocations: 8.375 kB / 0.694 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2631, allocations: 57.98 kB / 0.6941 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2631, allocations: 0 / 0.6941 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2631, allocations: 3.984 kB / 0.6941 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2631, allocations: 0 / 0.6941 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.2632, allocations: 20 kB / 0.6941 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.2637, allocations: 264.8 kB / 0.6943 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.2638, allocations: 42.56 kB / 0.6944 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.2638, allocations: 20.97 kB / 0.6944 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.2639, allocations: 4 kB / 0.6944 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.2641, allocations: 93.09 kB / 0.6945 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2641, allocations: 0 / 0.6945 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0003391/0.2644, allocations: 143.3 kB / 0.6946 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.2645, allocations: 85.09 kB / 0.6947 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2646, allocations: 109.8 kB / 0.6948 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2647, allocations: 33.7 kB / 0.6948 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.2647, allocations: 92.02 kB / 0.6949 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.2647, allocations: 19.84 kB / 0.695 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.2648, allocations: 25.72 kB / 0.695 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2649, allocations: 322.8 kB / 0.6953 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.265, allocations: 15.94 kB / 0.6953 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.265, allocations: 38.84 kB / 0.6953 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2652, allocations: 117.9 kB / 0.6954 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2652, allocations: 0 / 0.6954 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001967/0.2654, allocations: 123.4 kB / 0.6956 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.2654, allocations: 41.62 kB / 0.6956 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2654, allocations: 0 / 0.6956 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2654, allocations: 0 / 0.6956 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.2655, allocations: 4 kB / 0.6956 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2655, allocations: 4.062 kB / 0.6956 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.2656, allocations: 8 kB / 0.6956 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2656, allocations: 64 / 0.6956 GB, free: 5.164 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001434/0.2657, allocations: 161 kB / 0.6958 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2658, allocations: 11.95 kB / 0.6958 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.2658, allocations: 8.375 kB / 0.6958 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2658, allocations: 7.922 kB / 0.6958 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2658, allocations: 0 / 0.6958 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2658, allocations: 3.984 kB / 0.6958 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.2663, allocations: 404.2 kB / 0.6962 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2663, allocations: 0 / 0.6962 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.2663, allocations: 0 / 0.6962 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.2663, allocations: 4 kB / 0.6962 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2663, allocations: 0 / 0.6962 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2663, allocations: 0 / 0.6962 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2663, allocations: 0 / 0.6962 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.2666, allocations: 241 kB / 0.6964 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.2666, allocations: 81.11 kB / 0.6965 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.2667, allocations: 7.984 kB / 0.6965 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2668, allocations: 8 kB / 0.6965 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.2668, allocations: 11.92 kB / 0.6965 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2668, allocations: 0 / 0.6965 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.2669, allocations: 95.75 kB / 0.6966 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2669, allocations: 0 / 0.6966 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002454/0.2671, allocations: 19.95 kB / 0.6966 GB, free: 4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001178/0.2673, allocations: 103.2 kB / 0.6967 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.2675, allocations: 119.2 kB / 0.6969 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2675, allocations: 0 / 0.6969 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.2676, allocations: 75.39 kB / 0.6969 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.2679, allocations: 16.33 kB / 0.6969 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.2683, allocations: 183.1 kB / 0.6971 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.2687, allocations: 0.6924 MB / 0.6978 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.2687, allocations: 11.44 kB / 0.6978 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of SimCode: time 9.11e-07/0.2687, allocations: 0 / 0.6978 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of Templates: time 0.003512/0.2723, allocations: 0.91 MB / 0.6987 GB, free: 1.82 MB / 0.5137 GB [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480]