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.001687/0.001687, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001599/0.001599, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.002449/0.002449, allocations: 285.2 kB / 312.7 MB, free: 2.703 MB / 238.1 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 1.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 14.65 MB / 382.1 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: NcDataReader2 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: BuildingSystems 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.002976/0.002976, allocations: 103.5 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1802, allocations: 95.38 MB / 0.8326 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002581/0.1828, allocations: 1.45 MB / 0.834 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.1836, allocations: 436.6 kB / 0.8344 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.1836, allocations: 0 / 0.8344 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.1837, allocations: 3.938 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.1838, allocations: 23.84 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.1839, allocations: 19.98 kB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.184, allocations: 43.86 kB / 0.8345 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.1841, allocations: 11.98 kB / 0.8345 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.1842, allocations: 19.88 kB / 0.8346 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.1842, allocations: 23.89 kB / 0.8346 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1842, allocations: 4 kB / 0.8346 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.1843, allocations: 4 kB / 0.8346 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.1843, allocations: 7.938 kB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.1843, allocations: 19.92 kB / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.1844, allocations: 44.09 kB / 0.8347 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1844, allocations: 4 kB / 0.8347 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1844, allocations: 0 / 0.8347 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1845, allocations: 0 / 0.8347 GB, free: 6.25 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.0005622/0.185, allocations: 319.9 kB / 0.835 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1851, allocations: 13.34 kB / 0.835 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.1851, allocations: 34.69 kB / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1851, allocations: 8.891 kB / 0.835 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1853, allocations: 118.5 kB / 0.8351 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1853, allocations: 384 / 0.8351 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1853, allocations: 8.375 kB / 0.8351 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1854, allocations: 79.52 kB / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1855, allocations: 0 / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1855, allocations: 0 / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1855, allocations: 0 / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.099e-05/0.1855, allocations: 57.56 kB / 0.8353 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.186, allocations: 235.9 kB / 0.8355 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1861, allocations: 68.27 kB / 0.8356 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.1861, allocations: 42.69 kB / 0.8356 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1861, allocations: 0 / 0.8356 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.1864, allocations: 142.8 kB / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1864, allocations: 0 / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003181/0.1867, allocations: 194.7 kB / 0.8359 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.1867, allocations: 89.03 kB / 0.836 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.1868, allocations: 109.8 kB / 0.8361 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1869, allocations: 25.7 kB / 0.8361 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.1869, allocations: 88.14 kB / 0.8362 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1869, allocations: 15.84 kB / 0.8362 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.187, allocations: 29.7 kB / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1871, allocations: 318.8 kB / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.1872, allocations: 49.69 kB / 0.8366 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.1872, allocations: 64.27 kB / 0.8367 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1874, allocations: 121.9 kB / 0.8368 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1874, allocations: 0 / 0.8368 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001833/0.1875, allocations: 157 kB / 0.8369 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.1876, allocations: 33.7 kB / 0.837 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1876, allocations: 0 / 0.837 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1876, allocations: 3.984 kB / 0.837 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-05/0.1876, allocations: 12.05 kB / 0.837 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1876, allocations: 400 / 0.837 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.1877, allocations: 11.95 kB / 0.837 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1877, allocations: 3.938 kB / 0.837 GB, free: 3.523 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.0001174/0.1878, allocations: 160.1 kB / 0.8372 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.1878, allocations: 4 kB / 0.8372 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.1879, allocations: 8.75 kB / 0.8372 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1879, allocations: 0 / 0.8372 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1879, allocations: 0 / 0.8372 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1879, allocations: 0 / 0.8372 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.1883, allocations: 412.8 kB / 0.8376 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1883, allocations: 0 / 0.8376 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-06/0.1883, allocations: 0 / 0.8376 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1883, allocations: 0 / 0.8376 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1883, allocations: 4 kB / 0.8376 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1883, allocations: 80 / 0.8376 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.1883, allocations: 11.91 kB / 0.8376 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.1886, allocations: 254.9 kB / 0.8378 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.1886, allocations: 7.953 kB / 0.8378 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1886, allocations: 0 / 0.8378 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1887, allocations: 19.98 kB / 0.8378 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1888, allocations: 11.92 kB / 0.8379 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1888, allocations: 0 / 0.8379 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.1888, allocations: 87.28 kB / 0.8379 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1888, allocations: 0 / 0.8379 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000247/0.1891, allocations: 12 kB / 0.838 GB, free: 2.438 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.0005459/0.1896, allocations: 0.7957 MB / 0.8387 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1898, allocations: 170.7 kB / 0.8389 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1898, allocations: 0 / 0.8389 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1899, allocations: 113.2 kB / 0.839 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.1902, allocations: 23.86 kB / 0.839 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.1918, allocations: 1.57 MB / 0.8406 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.546e-05/0.1919, allocations: 67.34 kB / 0.8406 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.1919, allocations: 7.984 kB / 0.8406 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.192, allocations: 19.44 kB / 0.8406 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/0.192, allocations: 0 / 0.8406 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.2245, allocations: 2.517 MB / 0.8431 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.98, allocations: 15.48 kB / 0.8431 GB, free: 13.08 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.0312405009754] Failed to read output from testmodel.py, exit status != 0: 11.088208288885653 11.112621071 10.923877773 Calling exit ...