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.0008691/0.0008691, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009247/0.0009247, allocations: 212.1 kB / 22.25 MB, free: 3.727 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 1.018/1.018, allocations: 230.6 MB / 256 MB, free: 9.582 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.8256/0.8256, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.001411/0.001411, allocations: 66.39 kB / 0.7181 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5278/0.5292, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002062/0.5313, allocations: 1.446 MB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006524/0.5319, allocations: 445 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.532, allocations: 4 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.532, allocations: 1.172 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.5321, allocations: 11.06 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.5323, allocations: 22.55 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.5324, allocations: 56.3 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.5325, allocations: 7.859 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.5326, allocations: 22.06 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.5327, allocations: 15.8 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.5327, allocations: 3.188 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.5327, allocations: 3.281 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.5327, allocations: 15.86 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.5328, allocations: 19.91 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.5329, allocations: 41.42 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5329, allocations: 0 / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5329, allocations: 0 / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5329, allocations: 0 / 0.8198 GB, free: 15.65 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.000531/0.5334, allocations: 318.6 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5335, allocations: 9.5 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.5335, allocations: 37.05 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.5336, allocations: 16.77 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.5337, allocations: 116.1 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.5337, allocations: 1.375 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.5337, allocations: 4.406 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5338, allocations: 92.39 kB / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.5338, allocations: 0.7031 kB / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.5338, allocations: 0 / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5338, allocations: 0 / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.5339, allocations: 50.73 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.5343, allocations: 235 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.754e-05/0.5343, allocations: 69.23 kB / 0.8207 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.5344, allocations: 47.12 kB / 0.8208 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.5344, allocations: 7.938 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.5346, allocations: 125.6 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 8.61e-07/0.5346, allocations: 0 / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002784/0.5349, allocations: 202.7 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.5349, allocations: 88.94 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.535, allocations: 109.4 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.535, allocations: 29.7 kB / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.535, allocations: 84.72 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.5351, allocations: 20.53 kB / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.5351, allocations: 23.69 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.5352, allocations: 323.1 kB / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.5352, allocations: 45.17 kB / 0.8218 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.5353, allocations: 67.92 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.5354, allocations: 115.9 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5354, allocations: 0 / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000134/0.5355, allocations: 152.8 kB / 0.8221 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.5355, allocations: 36.81 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5355, allocations: 2.609 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5356, allocations: 0 / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.5356, allocations: 4.312 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5356, allocations: 6.047 kB / 0.8221 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.5357, allocations: 18.42 kB / 0.8222 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.5357, allocations: 2.656 kB / 0.8222 GB, free: 13.34 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 0.000192/0.5359, allocations: 159.5 kB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.5359, allocations: 7.781 kB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.5359, allocations: 10.72 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5359, allocations: 4 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5359, allocations: 1.031 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5359, allocations: 0.7031 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.5363, allocations: 389.2 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5363, allocations: 1.75 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.5363, allocations: 0.5156 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5363, allocations: 2.438 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5363, allocations: 0.8906 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5363, allocations: 5.953 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5363, allocations: 3.938 kB / 0.8227 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.5365, allocations: 274.4 kB / 0.823 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.5365, allocations: 10.11 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.5365, allocations: 5.188 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.5366, allocations: 8.203 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.5366, allocations: 8.078 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.5366, allocations: 7.75 kB / 0.823 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.5367, allocations: 84.38 kB / 0.8231 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5367, allocations: 0 / 0.8231 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001513/0.5368, allocations: 18.66 kB / 0.8231 GB, free: 12.46 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.0003571/0.5372, allocations: 0.7963 MB / 0.8239 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.5373, allocations: 167.3 kB / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5374, allocations: 0 / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.5374, allocations: 115.1 kB / 0.8242 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.5376, allocations: 15.39 kB / 0.8242 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.5387, allocations: 1.565 MB / 0.8257 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.5387, allocations: 73.19 kB / 0.8258 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.5388, allocations: 9.5 kB / 0.8258 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.5388, allocations: 15.61 kB / 0.8258 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.5388, allocations: 0.8438 kB / 0.8258 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.5555, allocations: 2.502 MB / 0.8282 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/7.243, allocations: 5.125 kB / 0.8283 GB, free: 8.965 MB / 0.6198 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 & 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.443139917217195] Failed to read output from testmodel.py, exit status != 0: 7.319695958867669 7.331483592 6.796377889 Calling exit ...