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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.12/1.12, allocations: 175.8 MB / 478.4 MB, free: 3.441 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 66.41 kB / 0.6652 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2181, allocations: 94.54 MB / 0.7575 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002654/0.2207, allocations: 1.422 MB / 0.7589 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.2215, allocations: 448.9 kB / 0.7593 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.2216, allocations: 0 / 0.7593 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.2216, allocations: 3.938 kB / 0.7593 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.455e-05/0.2217, allocations: 11.86 kB / 0.7593 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.2219, allocations: 15.98 kB / 0.7593 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.222, allocations: 51.84 kB / 0.7594 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.583e-05/0.2221, allocations: 7.938 kB / 0.7594 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.2221, allocations: 27.86 kB / 0.7594 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.2222, allocations: 15.92 kB / 0.7594 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2222, allocations: 11.94 kB / 0.7594 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.2222, allocations: 4 kB / 0.7594 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.2223, allocations: 11.97 kB / 0.7595 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.2223, allocations: 19.88 kB / 0.7595 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.2224, allocations: 35.89 kB / 0.7595 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2224, allocations: 0 / 0.7595 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2224, allocations: 0 / 0.7595 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2224, allocations: 0 / 0.7595 GB, free: 15.54 MB / 0.5762 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.0006702/0.2231, allocations: 408.9 kB / 0.7599 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2231, allocations: 8.031 kB / 0.7599 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.2232, allocations: 38.73 kB / 0.7599 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.2232, allocations: 0.9375 kB / 0.7599 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2234, allocations: 172.3 kB / 0.7601 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2234, allocations: 4.375 kB / 0.7601 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2234, allocations: 384 / 0.7601 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.2235, allocations: 57.8 kB / 0.7602 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2235, allocations: 0 / 0.7602 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2235, allocations: 8 kB / 0.7602 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2235, allocations: 0 / 0.7602 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.2236, allocations: 19.92 kB / 0.7602 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.224, allocations: 268.8 kB / 0.7605 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.2241, allocations: 34.56 kB / 0.7605 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.2242, allocations: 16.98 kB / 0.7605 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2242, allocations: 0 / 0.7605 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2244, allocations: 121 kB / 0.7606 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2244, allocations: 3.938 kB / 0.7606 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000303/0.2247, allocations: 143.3 kB / 0.7608 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.2248, allocations: 81.11 kB / 0.7608 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2249, allocations: 117.9 kB / 0.7609 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2249, allocations: 29.7 kB / 0.761 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.225, allocations: 84.14 kB / 0.7611 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.225, allocations: 19.84 kB / 0.7611 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.225, allocations: 29.7 kB / 0.7611 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2252, allocations: 318.8 kB / 0.7614 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.535e-05/0.2252, allocations: 19.98 kB / 0.7614 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.2252, allocations: 34.56 kB / 0.7615 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.2253, allocations: 113.9 kB / 0.7616 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2254, allocations: 0 / 0.7616 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001616/0.2255, allocations: 131.2 kB / 0.7617 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.2255, allocations: 33.7 kB / 0.7617 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2256, allocations: 0 / 0.7617 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2256, allocations: 0 / 0.7617 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.2256, allocations: 4 kB / 0.7617 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2256, allocations: 0 / 0.7617 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.2257, allocations: 11.98 kB / 0.7617 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2257, allocations: 8.062 kB / 0.7617 GB, free: 12.95 MB / 0.5762 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.0001208/0.2258, allocations: 152.3 kB / 0.7619 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.2258, allocations: 11.94 kB / 0.7619 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.2259, allocations: 8.375 kB / 0.7619 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2259, allocations: 4 kB / 0.7619 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2259, allocations: 0 / 0.7619 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2259, allocations: 0 / 0.7619 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.2263, allocations: 404.2 kB / 0.7623 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2263, allocations: 4 kB / 0.7623 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.2263, allocations: 384 / 0.7623 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2263, allocations: 0 / 0.7623 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2263, allocations: 4 kB / 0.7623 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2263, allocations: 7.922 kB / 0.7623 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2263, allocations: 7.875 kB / 0.7623 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.2266, allocations: 233.1 kB / 0.7625 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.2267, allocations: 89 kB / 0.7626 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2267, allocations: 4 kB / 0.7626 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2268, allocations: 7.984 kB / 0.7626 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2268, allocations: 11.94 kB / 0.7627 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.2268, allocations: 7.984 kB / 0.7627 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.2269, allocations: 87.28 kB / 0.7627 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2269, allocations: 0 / 0.7627 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002276/0.2271, allocations: 12 kB / 0.7628 GB, free: 11.79 MB / 0.5762 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.0005611/0.2277, allocations: 0.7669 MB / 0.7635 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.2279, allocations: 107.3 kB / 0.7636 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2279, allocations: 0 / 0.7636 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.2279, allocations: 75.39 kB / 0.7637 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.2282, allocations: 23.91 kB / 0.7637 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2297, allocations: 1.433 MB / 0.7651 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.23, allocations: 0.6807 MB / 0.7658 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.23, allocations: 4 kB / 0.7658 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.23, allocations: 23.42 kB / 0.7658 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.23, allocations: 3.938 kB / 0.7658 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.2547, allocations: 1.893 MB / 0.7676 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.399, allocations: 2.594 kB / 0.7676 GB, free: 6.68 MB / 0.5762 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: 12.621899959631264] Failed to read output from testmodel.py, exit status != 0: 8.467816363088787 8.484151690000001 8.258754532 Calling exit ...