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.001133/0.001133, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009192/0.0009192, allocations: 213.8 kB / 22.25 MB, free: 3.711 MB / 13.93 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.9555/0.9555, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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.799/0.799, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 66.41 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5824, allocations: 102 MB / 0.8178 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002734/0.5851, allocations: 1.454 MB / 0.8192 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007453/0.5858, allocations: 482.8 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.5859, allocations: 0 / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.5859, allocations: 7.375 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.586, allocations: 13.89 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.5862, allocations: 15.91 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.5864, allocations: 55.22 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.5865, allocations: 15.72 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.5865, allocations: 22.56 kB / 0.8198 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.247e-05/0.5866, allocations: 17.47 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.5866, allocations: 4.75 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.5866, allocations: 3.688 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.5867, allocations: 5.547 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.5867, allocations: 26.41 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.5869, allocations: 40.75 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5869, allocations: 0 / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5869, allocations: 0 / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.5869, allocations: 0 / 0.8199 GB, free: 15.79 MB / 0.6198 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.0005371/0.5874, allocations: 320.5 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5875, allocations: 11.53 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.5875, allocations: 35.39 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.5875, allocations: 9.281 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5876, allocations: 118.9 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5876, allocations: 4.625 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.5876, allocations: 2.406 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.5878, allocations: 62.48 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.5878, allocations: 0 / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.5878, allocations: 2.75 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5878, allocations: 3.938 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.5878, allocations: 19.42 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.5882, allocations: 245.2 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.5883, allocations: 33.39 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.5883, allocations: 21.03 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.5884, allocations: 1.281 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.5886, allocations: 106.3 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.5886, allocations: 0 / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000251/0.5888, allocations: 136.2 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.5889, allocations: 89.94 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.5889, allocations: 114.2 kB / 0.8212 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.589, allocations: 27.55 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.589, allocations: 87.7 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.589, allocations: 15.06 kB / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.5891, allocations: 25.31 kB / 0.8213 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5892, allocations: 322.6 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.5892, allocations: 14.36 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.5892, allocations: 39.66 kB / 0.8217 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.886e-05/0.5893, allocations: 123.1 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5893, allocations: 0 / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001273/0.5894, allocations: 124.2 kB / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.5895, allocations: 32.3 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5895, allocations: 0.9062 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5895, allocations: 2.656 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.5895, allocations: 6.016 kB / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5896, allocations: 2.188 kB / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.5896, allocations: 14.19 kB / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.5896, allocations: 7.719 kB / 0.822 GB, free: 13.79 MB / 0.6198 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 9.597e-05/0.5897, allocations: 165.3 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.5897, allocations: 8.281 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.5897, allocations: 12.64 kB / 0.8222 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5897, allocations: 0.7031 kB / 0.8222 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5898, allocations: 4 kB / 0.8222 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5898, allocations: 4.547 kB / 0.8222 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.5901, allocations: 366.6 kB / 0.8225 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5901, allocations: 0.7031 kB / 0.8225 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.5901, allocations: 3.406 kB / 0.8225 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5901, allocations: 0.7031 kB / 0.8225 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.5901, allocations: 4.188 kB / 0.8226 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5901, allocations: 0 / 0.8226 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5901, allocations: 3.938 kB / 0.8226 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.5903, allocations: 240.7 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.5903, allocations: 8.375 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.5903, allocations: 0.5625 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.5904, allocations: 9.047 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.5904, allocations: 13.53 kB / 0.8228 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.5904, allocations: 3.828 kB / 0.8228 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.5905, allocations: 89.25 kB / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5905, allocations: 0 / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000149/0.5906, allocations: 16.92 kB / 0.8229 GB, free: 12.98 MB / 0.6198 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.000381/0.591, allocations: 0.7618 MB / 0.8237 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.5912, allocations: 113.3 kB / 0.8238 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5912, allocations: 1.188 kB / 0.8238 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.5912, allocations: 87.14 kB / 0.8239 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.5915, allocations: 16.48 kB / 0.8239 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5927, allocations: 1.427 MB / 0.8253 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.5928, allocations: 0.6858 MB / 0.8259 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.5929, allocations: 8.625 kB / 0.8259 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.5929, allocations: 17.09 kB / 0.826 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.5929, allocations: 0 / 0.826 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.6094, allocations: 2.039 MB / 0.828 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.539, allocations: 1.438 kB / 0.828 GB, free: 9.602 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.611915583023801] Failed to read output from testmodel.py, exit status != 0: 7.617412854917347 7.630207485 7.041205978 Calling exit ...