Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008173/0.0008173, 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.0009195/0.0009195, 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.8606/0.8606, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001416/0.001416, allocations: 237.7 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6425/0.6425, allocations: 138.4 MB / 454.3 MB, free: 1.633 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 1.406 kB / 0.6462 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.214e-05, allocations: 4.109 kB / 0.6463 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001818/0.00184, allocations: 1.448 MB / 0.6477 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005505/0.002391, allocations: 439.2 kB / 0.6481 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.002428, allocations: 0 / 0.6481 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.002454, allocations: 3.938 kB / 0.6481 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.002532, allocations: 13.39 kB / 0.6481 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.002684, allocations: 28.62 kB / 0.6481 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.002789, allocations: 46.86 kB / 0.6482 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.002873, allocations: 11.27 kB / 0.6482 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.00294, allocations: 22.89 kB / 0.6482 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.002999, allocations: 17.8 kB / 0.6482 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.00302, allocations: 12.08 kB / 0.6482 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.00303, allocations: 2.406 kB / 0.6482 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.003052, allocations: 5.609 kB / 0.6482 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.003087, allocations: 15.12 kB / 0.6483 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.003197, allocations: 52.64 kB / 0.6483 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003199, allocations: 0 / 0.6483 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.432e-06/0.0032, allocations: 1.219 kB / 0.6483 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003205, allocations: 3.938 kB / 0.6483 GB, free: 27.28 MB / 0.5105 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.0003911/0.003596, allocations: 313.6 kB / 0.6486 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.003636, allocations: 10.19 kB / 0.6486 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.198e-05/0.003658, allocations: 36.12 kB / 0.6487 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.003683, allocations: 7.641 kB / 0.6487 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.279e-05/0.003746, allocations: 113.6 kB / 0.6488 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.003757, allocations: 2.594 kB / 0.6488 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.003765, allocations: 3.594 kB / 0.6488 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.415e-05/0.00386, allocations: 80.61 kB / 0.6489 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003866, allocations: 192 / 0.6489 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.003876, allocations: 9.547 kB / 0.6489 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.003881, allocations: 0 / 0.6489 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.003929, allocations: 53.16 kB / 0.6489 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.004212, allocations: 239.8 kB / 0.6491 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.00428, allocations: 64.98 kB / 0.6492 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.004308, allocations: 50.47 kB / 0.6493 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.004325, allocations: 5.844 kB / 0.6493 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.004466, allocations: 130.4 kB / 0.6494 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.004467, allocations: 0 / 0.6494 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002243/0.004691, allocations: 199.5 kB / 0.6496 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.004722, allocations: 84.22 kB / 0.6497 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.583e-05/0.004768, allocations: 111.2 kB / 0.6498 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.004774, allocations: 26.95 kB / 0.6498 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.0048, allocations: 85.27 kB / 0.6499 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.004815, allocations: 24.39 kB / 0.6499 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.004844, allocations: 25.64 kB / 0.6499 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.936e-05/0.004873, allocations: 320.7 kB / 0.6502 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.0049, allocations: 44 kB / 0.6503 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.004933, allocations: 65.27 kB / 0.6503 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.004993, allocations: 115 kB / 0.6504 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.004995, allocations: 0 / 0.6504 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001051/0.0051, allocations: 156.7 kB / 0.6506 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.005123, allocations: 31.45 kB / 0.6506 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.005128, allocations: 5.031 kB / 0.6506 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.00514, allocations: 5.25 kB / 0.6506 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.005178, allocations: 6.891 kB / 0.6506 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.005184, allocations: 9.281 kB / 0.6506 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.005221, allocations: 9.484 kB / 0.6506 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.005229, allocations: 7.312 kB / 0.6507 GB, free: 24.89 MB / 0.5105 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 5.35e-05/0.005282, allocations: 148 kB / 0.6508 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.005292, allocations: 7.406 kB / 0.6508 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.005311, allocations: 5.812 kB / 0.6508 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.005313, allocations: 1.219 kB / 0.6508 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005317, allocations: 4 kB / 0.6508 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.00532, allocations: 1.062 kB / 0.6508 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.005559, allocations: 410 kB / 0.6512 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005561, allocations: 0 / 0.6512 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-06/0.005565, allocations: 1.375 kB / 0.6512 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.005568, allocations: 1.5 kB / 0.6512 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.005576, allocations: 1.188 kB / 0.6512 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.005577, allocations: 3.984 kB / 0.6512 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.005578, allocations: 1.188 kB / 0.6512 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.005688, allocations: 260 kB / 0.6515 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.005696, allocations: 7.547 kB / 0.6515 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.00571, allocations: 5.781 kB / 0.6515 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.005762, allocations: 9.359 kB / 0.6515 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.005798, allocations: 11.52 kB / 0.6515 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.005813, allocations: 1.969 kB / 0.6515 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.969e-05/0.005832, allocations: 86.86 kB / 0.6516 GB, free: 24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005832, allocations: 0 / 0.6516 GB, free: 24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001511/0.005984, allocations: 18.27 kB / 0.6516 GB, free: 23.99 MB / 0.5105 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.0002215/0.006205, allocations: 0.8004 MB / 0.6524 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.006335, allocations: 171.5 kB / 0.6525 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006336, allocations: 0 / 0.6525 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/0.006383, allocations: 112 kB / 0.6526 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.006587, allocations: 29.08 kB / 0.6527 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.007335, allocations: 1.565 MB / 0.6542 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.007372, allocations: 75.08 kB / 0.6543 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.007397, allocations: 3.75 kB / 0.6543 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.007434, allocations: 24.25 kB / 0.6543 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.007434, allocations: 0 / 0.6543 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.02532, allocations: 2.63 MB / 0.6569 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/6.694, allocations: 9.609 kB / 0.6569 GB, free: 19.71 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay.fmu > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.34787462465465] Failed to read output from testmodel.py, exit status != 0: 6.774541401304305 6.782847041 6.778126897 Calling exit ...