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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009392/0.0009392, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008929/0.0008929, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9321/0.9321, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7193/0.7193, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.098e-05, allocations: 2.281 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002382/0.002413, allocations: 1.462 MB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006961/0.003109, allocations: 434.9 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.003157, allocations: 0 / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.003188, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.003279, allocations: 15.91 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.003469, allocations: 27.8 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.0036, allocations: 47.84 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003705, allocations: 7.984 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.003789, allocations: 27.92 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.003863, allocations: 19.92 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.003888, allocations: 0 / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.832e-05/0.003906, allocations: 4 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.003935, allocations: 7.984 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.003981, allocations: 19.92 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.004109, allocations: 43.89 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.004112, allocations: 3.984 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/0.004114, allocations: 3.938 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.004119, allocations: 0 / 0.6201 GB, free: 11.67 MB / 0.5886 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.0006492/0.004768, allocations: 316 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.004812, allocations: 9.469 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.004849, allocations: 34.75 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.004887, allocations: 12.89 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.004978, allocations: 113.7 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004991, allocations: 8.359 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.005, allocations: 384 / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.005117, allocations: 79.95 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.005127, allocations: 4.188 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.005138, allocations: 4.125 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005143, allocations: 3.938 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.005204, allocations: 53.62 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.005611, allocations: 228 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.557e-05/0.005707, allocations: 72.27 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.005746, allocations: 46.62 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.005768, allocations: 0 / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.005981, allocations: 138.7 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.005983, allocations: 0 / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002754/0.006259, allocations: 202.7 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.006307, allocations: 81.11 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.006377, allocations: 113.8 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.006388, allocations: 25.7 kB / 0.6215 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.006434, allocations: 88.12 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.006454, allocations: 19.86 kB / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.006487, allocations: 25.72 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.006575, allocations: 322.8 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.00661, allocations: 41.69 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.006658, allocations: 68.27 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.133e-05/0.006739, allocations: 114.3 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006741, allocations: 0 / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001298/0.006871, allocations: 164.9 kB / 0.6223 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.006902, allocations: 29.7 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.006908, allocations: 8.062 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.006922, allocations: 0 / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.006965, allocations: 4 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.00697, allocations: 0 / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.007016, allocations: 11.94 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.007024, allocations: 8 kB / 0.6224 GB, free: 8.945 MB / 0.5886 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 8.006e-05/0.007104, allocations: 152.5 kB / 0.6225 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.007113, allocations: 7.938 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.007136, allocations: 4.438 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.00714, allocations: 8 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.007145, allocations: 3.984 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007149, allocations: 3.938 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.007458, allocations: 405.3 kB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007459, allocations: 0 / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-06/0.007463, allocations: 0 / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007466, allocations: 7.938 kB / 0.623 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007474, allocations: 3.984 kB / 0.623 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007476, allocations: 0 / 0.623 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007477, allocations: 0 / 0.623 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.007627, allocations: 266.8 kB / 0.6232 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.007635, allocations: 7.953 kB / 0.6232 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.007651, allocations: 4 kB / 0.6232 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.007715, allocations: 7.984 kB / 0.6232 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.00776, allocations: 11.98 kB / 0.6233 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.007775, allocations: 4 kB / 0.6233 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.007806, allocations: 83.28 kB / 0.6233 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007806, allocations: 4 kB / 0.6233 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000153/0.007959, allocations: 12 kB / 0.6234 GB, free: 7.859 MB / 0.5886 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.0004197/0.008379, allocations: 0.7977 MB / 0.6241 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.008538, allocations: 170.7 kB / 0.6243 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.00854, allocations: 0 / 0.6243 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.008599, allocations: 105.1 kB / 0.6244 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.008817, allocations: 15.98 kB / 0.6244 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.009864, allocations: 1.571 MB / 0.6259 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.385e-05/0.009918, allocations: 79.52 kB / 0.626 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.009943, allocations: 8.125 kB / 0.626 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.009989, allocations: 16.5 kB / 0.626 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of SimCode: time 1.002e-06/0.00999, allocations: 3.938 kB / 0.6261 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.02554, allocations: 2.623 MB / 0.6286 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.201, allocations: 2.75 kB / 0.6286 GB, free: 2.406 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.039218590594828] Failed to read output from testmodel.py, exit status != 0: 7.281326609663665 7.290334944 7.284431084 Calling exit ...