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.0009585/0.0009585, 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.001063/0.001063, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9392/0.9392, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.6979/0.6979, allocations: 154.6 MB / 413.8 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 1.723e-06/1.723e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.229e-05, allocations: 6.953 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002113/0.002135, allocations: 1.45 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006982/0.002833, allocations: 446.8 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.002877, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.002909, allocations: 3.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.258e-05/0.003001, allocations: 15.91 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.003192, allocations: 15.92 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.003319, allocations: 51.8 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003423, allocations: 7.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.12e-05/0.003514, allocations: 35.91 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.003585, allocations: 7.984 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.003608, allocations: 4 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.003618, allocations: 8 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.003643, allocations: 11.92 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.003703, allocations: 12 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003822, allocations: 55.73 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003824, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003826, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.00383, allocations: 0 / 0.6201 GB, free: 11.58 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.0004876/0.004318, allocations: 312 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.00436, allocations: 12.03 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.004389, allocations: 34.75 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.004419, allocations: 8.891 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.335e-05/0.004512, allocations: 121.7 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.004523, allocations: 4.375 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.004533, allocations: 4.375 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.004648, allocations: 79.95 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.004655, allocations: 192 / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004665, allocations: 4.125 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004669, allocations: 0 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.004725, allocations: 49.62 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.0051, allocations: 232 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.808e-05/0.005198, allocations: 68.27 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.005237, allocations: 58.56 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.005258, allocations: 0 / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.005471, allocations: 130.7 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.005472, allocations: 0 / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.000268/0.00574, allocations: 210.7 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.005791, allocations: 81.11 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.005858, allocations: 105.8 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.005872, allocations: 29.7 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.005914, allocations: 92.12 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.005933, allocations: 19.86 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.005967, allocations: 29.7 kB / 0.6217 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.006055, allocations: 310.8 kB / 0.622 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.006097, allocations: 49.69 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.006143, allocations: 64.27 kB / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/0.006228, allocations: 109.9 kB / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006231, allocations: 0 / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001345/0.006365, allocations: 164.9 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.006397, allocations: 33.7 kB / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.006402, allocations: 0 / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.006414, allocations: 0 / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.00646, allocations: 8 kB / 0.6224 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.006467, allocations: 3.984 kB / 0.6224 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.006516, allocations: 15.89 kB / 0.6224 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006521, allocations: 400 / 0.6224 GB, free: 8.863 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.523e-05/0.006606, allocations: 152.5 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.006616, allocations: 12.06 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.006643, allocations: 16.44 kB / 0.6226 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006645, allocations: 0 / 0.6226 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.00665, allocations: 0 / 0.6226 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006654, allocations: 0 / 0.6226 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.006965, allocations: 396.9 kB / 0.623 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006967, allocations: 384 / 0.623 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.006972, allocations: 3.938 kB / 0.623 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006974, allocations: 0 / 0.623 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.006984, allocations: 8 kB / 0.623 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.006986, allocations: 3.938 kB / 0.623 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006987, allocations: 4 kB / 0.623 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.007138, allocations: 266.8 kB / 0.6233 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.00715, allocations: 11.95 kB / 0.6233 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.007164, allocations: 0 / 0.6233 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.007231, allocations: 11.98 kB / 0.6233 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.007272, allocations: 7.984 kB / 0.6233 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.007287, allocations: 4 kB / 0.6233 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.00732, allocations: 87.42 kB / 0.6234 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00732, allocations: 0 / 0.6234 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001672/0.007488, allocations: 16 kB / 0.6234 GB, free: 7.773 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.000363/0.007851, allocations: 0.7997 MB / 0.6242 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.008028, allocations: 166.7 kB / 0.6243 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.00803, allocations: 0 / 0.6243 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.008093, allocations: 109.1 kB / 0.6244 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.008322, allocations: 19.92 kB / 0.6245 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.009439, allocations: 1.566 MB / 0.626 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.009501, allocations: 87.3 kB / 0.6261 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.009536, allocations: 4 kB / 0.6261 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.009581, allocations: 16.78 kB / 0.6261 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of SimCode: time 1.342e-06/0.009582, allocations: 0 / 0.6261 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.0284, allocations: 2.609 MB / 0.6286 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/6.931, allocations: 3.25 kB / 0.6287 GB, free: 2.34 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.7674850076437] Failed to read output from testmodel.py, exit status != 0: 7.013991906307638 7.024709996 7.018762054 Calling exit ...