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.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.001077/0.001077, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001025/0.001025, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9048/0.9048, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7232/0.7232, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.523e-05, allocations: 2.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002107/0.002133, allocations: 1.447 MB / 0.6195 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006253/0.002758, allocations: 442.9 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.002795, allocations: 0 / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.002822, allocations: 7.938 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.002897, allocations: 11.92 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.003055, allocations: 19.86 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.003158, allocations: 55.78 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.003248, allocations: 7.984 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.003327, allocations: 27.92 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.084e-05/0.003388, allocations: 11.98 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.003408, allocations: 4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.003418, allocations: 11.94 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.003443, allocations: 15.91 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.003481, allocations: 12 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003601, allocations: 51.8 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.003604, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/0.003606, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.00361, allocations: 0 / 0.6201 GB, free: 11.62 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.0004699/0.00408, allocations: 312 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.004121, allocations: 8.031 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.004147, allocations: 38.75 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.004176, allocations: 4.891 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.739e-05/0.004273, allocations: 117.7 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.004287, allocations: 8.375 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.004296, allocations: 384 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.00441, allocations: 83.95 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.004418, allocations: 4.125 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.004431, allocations: 4.125 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004437, allocations: 0 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.379e-05/0.004491, allocations: 45.69 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.00484, allocations: 232 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.285e-05/0.004923, allocations: 68.25 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.004959, allocations: 58.56 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.004976, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.005158, allocations: 138.7 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.005159, allocations: 0 / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002606/0.005419, allocations: 202.7 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.005466, allocations: 85.09 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.005533, allocations: 109.8 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.005546, allocations: 29.7 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.005584, allocations: 84.14 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.005604, allocations: 23.84 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.005639, allocations: 33.7 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.005719, allocations: 310.8 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.005757, allocations: 49.69 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.005804, allocations: 67.55 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.005881, allocations: 109.9 kB / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.005884, allocations: 0 / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001273/0.006011, allocations: 161 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.006042, allocations: 35.73 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.006047, allocations: 0 / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006058, allocations: 0 / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.006104, allocations: 11.98 kB / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.006111, allocations: 3.938 kB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.006162, allocations: 7.953 kB / 0.6224 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006169, allocations: 4 kB / 0.6225 GB, free: 8.902 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.308e-05/0.006252, allocations: 148.5 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.006264, allocations: 7.938 kB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.006288, allocations: 12.47 kB / 0.6226 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.006292, allocations: 4 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.006297, allocations: 4.062 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.006301, allocations: 384 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.006609, allocations: 405.2 kB / 0.623 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006611, allocations: 0 / 0.623 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.006616, allocations: 4 kB / 0.623 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006618, allocations: 0 / 0.623 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.006627, allocations: 7.938 kB / 0.623 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.00663, allocations: 3.984 kB / 0.623 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006631, allocations: 0 / 0.623 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.006778, allocations: 262.8 kB / 0.6233 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.006791, allocations: 11.95 kB / 0.6233 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.006805, allocations: 0 / 0.6233 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.006869, allocations: 7.984 kB / 0.6233 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.006911, allocations: 7.984 kB / 0.6233 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.006927, allocations: 8 kB / 0.6233 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.006961, allocations: 87.42 kB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.006961, allocations: 0 / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001619/0.007123, allocations: 19.98 kB / 0.6234 GB, free: 7.812 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.0003441/0.007467, allocations: 0.7938 MB / 0.6242 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.00763, allocations: 170.7 kB / 0.6243 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007633, allocations: 0 / 0.6243 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/0.007697, allocations: 113 kB / 0.6245 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.007923, allocations: 15.98 kB / 0.6245 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.009012, allocations: 1.563 MB / 0.626 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.983e-05/0.009082, allocations: 83.36 kB / 0.6261 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.009118, allocations: 4 kB / 0.6261 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.009168, allocations: 20.44 kB / 0.6261 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.009168, allocations: 0 / 0.6261 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.02573, allocations: 2.617 MB / 0.6287 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.777, allocations: 3.25 kB / 0.6287 GB, free: 2.375 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.423721344210207] Failed to read output from testmodel.py, exit status != 0: 6.85573086515069 6.865714069 6.860298117 Calling exit ...