Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 117.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.062/1.062, allocations: 175.8 MB / 479.1 MB, free: 3.457 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 78.8 kB / 0.6663 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2063, allocations: 94.55 MB / 0.7586 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003044/0.2094, allocations: 1.421 MB / 0.76 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.2102, allocations: 444.9 kB / 0.7604 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.2102, allocations: 0 / 0.7604 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.2103, allocations: 3.938 kB / 0.7604 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.2104, allocations: 7.922 kB / 0.7605 GB, free: 15.28 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.2105, allocations: 19.92 kB / 0.7605 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.2107, allocations: 51.84 kB / 0.7605 GB, free: 15.21 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.2108, allocations: 11.94 kB / 0.7605 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.2108, allocations: 23.91 kB / 0.7606 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.2109, allocations: 23.92 kB / 0.7606 GB, free: 15.15 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2109, allocations: 0 / 0.7606 GB, free: 15.15 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.2109, allocations: 7.938 kB / 0.7606 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.211, allocations: 11.92 kB / 0.7606 GB, free: 15.13 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.211, allocations: 15.94 kB / 0.7606 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2111, allocations: 43.81 kB / 0.7607 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2111, allocations: 0 / 0.7607 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2111, allocations: 0 / 0.7607 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.2111, allocations: 4 kB / 0.7607 GB, free: 15.07 MB / 0.5763 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.0006862/0.2118, allocations: 401 kB / 0.761 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2119, allocations: 8.031 kB / 0.7611 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.2119, allocations: 4.938 kB / 0.7611 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.2121, allocations: 168.3 kB / 0.7612 GB, free: 14.41 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.2121, allocations: 384 / 0.7612 GB, free: 14.41 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2121, allocations: 4.375 kB / 0.7612 GB, free: 14.41 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2122, allocations: 69.91 kB / 0.7613 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2122, allocations: 0 / 0.7613 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2122, allocations: 0 / 0.7613 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2123, allocations: 4 kB / 0.7613 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.2123, allocations: 16 kB / 0.7613 GB, free: 14.31 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.2128, allocations: 276.8 kB / 0.7616 GB, free: 13.99 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/0.2128, allocations: 34.58 kB / 0.7616 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.2129, allocations: 24.97 kB / 0.7616 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2129, allocations: 3.938 kB / 0.7616 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.2131, allocations: 97.05 kB / 0.7617 GB, free: 13.8 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2131, allocations: 0 / 0.7617 GB, free: 13.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=9): time 0.0003016/0.2134, allocations: 139.3 kB / 0.7619 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.2135, allocations: 89.09 kB / 0.7619 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.2136, allocations: 113.7 kB / 0.7621 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2136, allocations: 33.7 kB / 0.7621 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.2137, allocations: 84.14 kB / 0.7622 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.2137, allocations: 23.91 kB / 0.7622 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.2137, allocations: 25.7 kB / 0.7622 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2139, allocations: 318.8 kB / 0.7625 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.2139, allocations: 15.98 kB / 0.7625 GB, free: 12.91 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.214, allocations: 38.56 kB / 0.7626 GB, free: 12.87 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2141, allocations: 113.9 kB / 0.7627 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2141, allocations: 0 / 0.7627 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001939/0.2143, allocations: 127.3 kB / 0.7628 GB, free: 12.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.2143, allocations: 33.69 kB / 0.7628 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2143, allocations: 0 / 0.7628 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2143, allocations: 4 kB / 0.7628 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.2144, allocations: 4 kB / 0.7628 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2144, allocations: 8 kB / 0.7628 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.2145, allocations: 7.984 kB / 0.7629 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.2145, allocations: 4 kB / 0.7629 GB, free: 12.53 MB / 0.5763 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.0001232/0.2146, allocations: 147.5 kB / 0.763 GB, free: 12.37 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.2146, allocations: 11.95 kB / 0.763 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.2146, allocations: 12.34 kB / 0.763 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2146, allocations: 384 / 0.763 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2146, allocations: 0 / 0.763 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2146, allocations: 4 kB / 0.763 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.2151, allocations: 404.1 kB / 0.7634 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2151, allocations: 4.062 kB / 0.7634 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.2151, allocations: 4 kB / 0.7634 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2151, allocations: 0 / 0.7634 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2151, allocations: 8 kB / 0.7634 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2151, allocations: 0 / 0.7634 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2151, allocations: 0 / 0.7634 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.2153, allocations: 241 kB / 0.7637 GB, free: 11.61 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.2154, allocations: 88.98 kB / 0.7637 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2154, allocations: 4 kB / 0.7637 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2155, allocations: 11.98 kB / 0.7638 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.2156, allocations: 7.938 kB / 0.7638 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2156, allocations: 4 kB / 0.7638 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.668e-05/0.2156, allocations: 87.27 kB / 0.7638 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.2156, allocations: 0 / 0.7638 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002364/0.2159, allocations: 20 kB / 0.7639 GB, free: 11.37 MB / 0.5763 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.0001068/0.216, allocations: 105.5 kB / 0.764 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.2162, allocations: 103.4 kB / 0.7641 GB, free: 11.15 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2162, allocations: 0 / 0.7641 GB, free: 11.15 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.2163, allocations: 92.09 kB / 0.7642 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.2166, allocations: 12 kB / 0.7642 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.217, allocations: 183.2 kB / 0.7643 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.2173, allocations: 0.6884 MB / 0.765 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.2173, allocations: 11.44 kB / 0.765 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of SimCode: time 3.11e-07/0.2173, allocations: 3.938 kB / 0.765 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of Templates: time 0.002584/0.2199, allocations: 0.9044 MB / 0.7659 GB, free: 9.191 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.913548209005967] Failed to read output from testmodel.py, exit status != 0: 0.22779967682436109 0.24146128899999994 0.02749274999999994 Calling exit ...