Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001676/0.001676, allocations: 113.2 kB / 19.59 MB, free: 2.281 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.001962/0.001962, allocations: 190.8 kB / 22.85 MB, free: 5.664 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.517/1.517, allocations: 225.6 MB / 251.5 MB, free: 13.08 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.001/1.001, allocations: 149.5 MB / 456.3 MB, free: 1.285 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 73.19 kB / 0.6319 GB, free: 9.664 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1817, allocations: 87.86 MB / 0.7177 GB, free: 1.734 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002101/0.1838, allocations: 0.7429 MB / 0.7185 GB, free: 0.9922 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001576/0.1853, allocations: 1.162 MB / 0.7196 GB, free: 15.82 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.1854, allocations: 3.938 kB / 0.7196 GB, free: 15.81 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.1854, allocations: 3.938 kB / 0.7196 GB, free: 15.81 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 8.816e-05/0.1855, allocations: 11.88 kB / 0.7196 GB, free: 15.8 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.1861, allocations: 134.4 kB / 0.7197 GB, free: 15.67 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0002124/0.1864, allocations: 119.8 kB / 0.7199 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.1865, allocations: 11.98 kB / 0.7199 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.894e-05/0.1866, allocations: 51.84 kB / 0.7199 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1867, allocations: 51.81 kB / 0.72 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1867, allocations: 12 kB / 0.72 GB, free: 15.43 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.038e-05/0.1868, allocations: 19.98 kB / 0.72 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.1868, allocations: 15.94 kB / 0.72 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.1869, allocations: 43.83 kB / 0.7201 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1871, allocations: 111.6 kB / 0.7202 GB, free: 15.24 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1871, allocations: 0 / 0.7202 GB, free: 15.24 MB / 0.545 GB
Notification: Performance of FrontEnd: time 2.033e-06/0.1871, allocations: 0 / 0.7202 GB, free: 15.24 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.037e-05/0.1871, allocations: 0 / 0.7202 GB, free: 15.24 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0006261/0.1877, allocations: 345.2 kB / 0.7205 GB, free: 14.86 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1878, allocations: 8.625 kB / 0.7205 GB, free: 14.86 MB / 0.545 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.1878, allocations: 38.73 kB / 0.7205 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1879, allocations: 8.891 kB / 0.7205 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.188, allocations: 114.4 kB / 0.7207 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.188, allocations: 8.375 kB / 0.7207 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.188, allocations: 8.375 kB / 0.7207 GB, free: 14.65 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1882, allocations: 66.2 kB / 0.7207 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1882, allocations: 11.94 kB / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1883, allocations: 0 / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1883, allocations: 0 / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.1884, allocations: 43.95 kB / 0.7208 GB, free: 14.52 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.189, allocations: 311.6 kB / 0.7211 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1892, allocations: 62.61 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.1893, allocations: 28.95 kB / 0.7212 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1893, allocations: 3.984 kB / 0.7212 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.1895, allocations: 87.3 kB / 0.7213 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1895, allocations: 4 kB / 0.7213 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of matching and sorting (n=8): time 0.0004364/0.1899, allocations: 141.6 kB / 0.7214 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.19, allocations: 59.41 kB / 0.7215 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.1901, allocations: 121.8 kB / 0.7216 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.1901, allocations: 29.7 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.1902, allocations: 92.08 kB / 0.7217 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1902, allocations: 15.91 kB / 0.7217 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.1903, allocations: 45.62 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001433/0.1904, allocations: 322.8 kB / 0.7221 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1906, allocations: 51.95 kB / 0.7221 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1908, allocations: 95.56 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.1911, allocations: 138.2 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1911, allocations: 4 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.000449/0.1915, allocations: 219.1 kB / 0.7225 GB, free: 12.56 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.1916, allocations: 41.69 kB / 0.7226 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1916, allocations: 4 kB / 0.7226 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1916, allocations: 0 / 0.7226 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.1917, allocations: 11.98 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1917, allocations: 4.062 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.1919, allocations: 39.98 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1919, allocations: 15.98 kB / 0.7226 GB, free: 12.44 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 10
 * 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.0001164/0.192, allocations: 125.7 kB / 0.7228 GB, free: 12.31 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.192, allocations: 7.953 kB / 0.7228 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.1921, allocations: 8.375 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1921, allocations: 4 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1921, allocations: 0 / 0.7228 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1921, allocations: 3.984 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.1926, allocations: 341.6 kB / 0.7231 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1926, allocations: 0 / 0.7231 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.1926, allocations: 15.92 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1926, allocations: 0 / 0.7231 GB, free: 11.89 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1926, allocations: 4 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1926, allocations: 0 / 0.7231 GB, free: 11.88 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1926, allocations: 3.938 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1929, allocations: 207.5 kB / 0.7233 GB, free: 11.66 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.193, allocations: 11.94 kB / 0.7233 GB, free: 11.65 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.193, allocations: 7.938 kB / 0.7234 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.1931, allocations: 4 kB / 0.7234 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.1931, allocations: 11.92 kB / 0.7234 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1931, allocations: 0 / 0.7234 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.996e-05/0.1932, allocations: 91.27 kB / 0.7235 GB, free: 11.54 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.1932, allocations: 4 kB / 0.7235 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.000266/0.1934, allocations: 24 kB / 0.7235 GB, free: 11.51 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y)
 * Number of discrete states: 1 (falEdg.not_u)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0006465/0.1941, allocations: 0.7474 MB / 0.7242 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004027/0.1945, allocations: 167.3 kB / 0.7244 GB, free: 10.56 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1945, allocations: 0 / 0.7244 GB, free: 10.56 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1946, allocations: 39.91 kB / 0.7244 GB, free: 10.52 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1949, allocations: 19.88 kB / 0.7244 GB, free: 10.5 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.1971, allocations: 1.683 MB / 0.7261 GB, free: 8.703 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1974, allocations: 0.6885 MB / 0.7267 GB, free: 7.988 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.483e-05/0.1975, allocations: 4 kB / 0.7268 GB, free: 7.984 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.1975, allocations: 23.42 kB / 0.7268 GB, free: 7.961 MB / 0.545 GB
Notification: Performance of SimCode: time 4.01e-07/0.1975, allocations: 0 / 0.7268 GB, free: 7.961 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.223, allocations: 2.608 MB / 0.7293 GB, free: 5.461 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.009, allocations: 2.656 kB / 0.7293 GB, free: 5.461 MB / 0.545 GB
"
[Timeout remaining time 652]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator  --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5]
[Calling sys.exit(0), Time elapsed: 11.812879331992008]
Failed to read output from testmodel.py, exit status != 0:
8.081479337997735 8.108096931 7.91589208
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc38fe957b0>