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.001128/0.001128, 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.001002/0.001002, allocations: 213.7 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 1/1, allocations: 230.6 MB / 256 MB, free: 9.828 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.7868/0.7868, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001497/0.001497, allocations: 70.8 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5316, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001934/0.5336, allocations: 1.46 MB / 0.8192 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005815/0.5341, allocations: 488 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.5342, allocations: 0 / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.5342, allocations: 0.75 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.5343, allocations: 11.94 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.5345, allocations: 21.41 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.5346, allocations: 53.09 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.5347, allocations: 13.05 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.5347, allocations: 20.3 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.5348, allocations: 19.94 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.5348, allocations: 3.781 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.5348, allocations: 3.5 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.5349, allocations: 10.05 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.5349, allocations: 26.48 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.535, allocations: 33.72 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.535, allocations: 4.594 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.535, allocations: 4 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.535, allocations: 0 / 0.8199 GB, free: 15.8 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.0004981/0.5355, allocations: 323.8 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.5356, allocations: 8.594 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.5356, allocations: 34.66 kB / 0.8203 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.5356, allocations: 7.188 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.5357, allocations: 119.1 kB / 0.8204 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5357, allocations: 10.34 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5357, allocations: 3.375 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.888e-05/0.5358, allocations: 56.31 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5359, allocations: 0 / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.5359, allocations: 0 / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5359, allocations: 1.781 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.5359, allocations: 19.25 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.5363, allocations: 246.2 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.547e-05/0.5363, allocations: 39.78 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.5363, allocations: 14.27 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.5364, allocations: 2.812 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.5365, allocations: 107.5 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.5365, allocations: 0 / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002229/0.5367, allocations: 146.6 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.5368, allocations: 85.72 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.428e-05/0.5368, allocations: 108.9 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.5369, allocations: 29.48 kB / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.5369, allocations: 84.75 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.5369, allocations: 17.8 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.5369, allocations: 25.16 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.537, allocations: 321.3 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.537, allocations: 13.5 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.5371, allocations: 41.25 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.229e-05/0.5371, allocations: 116.5 kB / 0.8218 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5372, allocations: 384 / 0.8218 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001134/0.5373, allocations: 130.3 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.5373, allocations: 29.64 kB / 0.822 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5373, allocations: 7.859 kB / 0.822 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.5373, allocations: 7.938 kB / 0.822 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.5373, allocations: 2.516 kB / 0.822 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5374, allocations: 2.812 kB / 0.822 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.5374, allocations: 13.53 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.5374, allocations: 4.375 kB / 0.822 GB, free: 13.81 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 7.776e-05/0.5375, allocations: 159.6 kB / 0.8222 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.5375, allocations: 9.375 kB / 0.8222 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.5375, allocations: 11.8 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5375, allocations: 4.609 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5375, allocations: 0 / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5375, allocations: 0.8438 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.5378, allocations: 367.7 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5378, allocations: 0 / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.5378, allocations: 1.594 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5378, allocations: 3.938 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.5378, allocations: 1.219 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5378, allocations: 0 / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5378, allocations: 3.938 kB / 0.8226 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.538, allocations: 243.3 kB / 0.8228 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-06/0.538, allocations: 4.516 kB / 0.8228 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.538, allocations: 3.469 kB / 0.8228 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.538, allocations: 10.56 kB / 0.8228 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5381, allocations: 13.38 kB / 0.8228 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.5381, allocations: 2.828 kB / 0.8228 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.5381, allocations: 90.38 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5381, allocations: 1.156 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001456/0.5383, allocations: 13.38 kB / 0.8229 GB, free: 13 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.0003194/0.5386, allocations: 0.7662 MB / 0.8237 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.5387, allocations: 115.8 kB / 0.8238 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5387, allocations: 0 / 0.8238 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.463e-05/0.5388, allocations: 79.66 kB / 0.8239 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.539, allocations: 17.95 kB / 0.8239 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009132/0.5399, allocations: 1.424 MB / 0.8253 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.5401, allocations: 0.6885 MB / 0.8259 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.5401, allocations: 5.266 kB / 0.8259 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.5401, allocations: 15.83 kB / 0.826 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.5401, allocations: 0 / 0.826 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.555, allocations: 2.044 MB / 0.8279 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/7.458, allocations: 16.33 kB / 0.828 GB, free: 9.613 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 & /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.538455655099824] Failed to read output from testmodel.py, exit status != 0: 7.534880387829617 7.545721163 7.008707392 Calling exit ...