Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.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.001386/0.001386, allocations: 109 kB / 20.48 MB, free: 1.473 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.00146/0.00146, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.469/1.469, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9855/0.9855, allocations: 150 MB / 464 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00303/0.00303, allocations: 69.88 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1812, allocations: 89.17 MB / 0.7291 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Not): time 0.001959/0.1832, allocations: 0.598 MB / 0.7297 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1849, allocations: 1.143 MB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.1849, allocations: 0 / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.185, allocations: 0 / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.767e-05/0.185, allocations: 15.92 kB / 0.7308 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.1856, allocations: 119.7 kB / 0.731 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1857, allocations: 79.89 kB / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.1858, allocations: 15.91 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.1859, allocations: 31.98 kB / 0.7311 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.186, allocations: 31.89 kB / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.186, allocations: 8 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.1861, allocations: 19.98 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.1861, allocations: 15.98 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.1862, allocations: 23.92 kB / 0.7312 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1863, allocations: 87.95 kB / 0.7313 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1863, allocations: 0 / 0.7313 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1863, allocations: 0 / 0.7313 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1863, allocations: 0 / 0.7313 GB, free: 15.13 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004697/0.1868, allocations: 304 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1869, allocations: 12.03 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/0.1869, allocations: 192 / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.1869, allocations: 34.75 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.187, allocations: 8.875 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1871, allocations: 110.5 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1871, allocations: 384 / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1871, allocations: 4.375 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1872, allocations: 46 kB / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1872, allocations: 0 / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1872, allocations: 3.938 kB / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1872, allocations: 0 / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.1873, allocations: 11.98 kB / 0.7318 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1877, allocations: 263.9 kB / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.998e-05/0.1878, allocations: 18.58 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.1878, allocations: 8.859 kB / 0.732 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.1878, allocations: 3.938 kB / 0.732 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.188, allocations: 63.44 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.188, allocations: 4 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002327/0.1882, allocations: 61.67 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1882, allocations: 51.41 kB / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1884, allocations: 105.8 kB / 0.7323 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.1884, allocations: 37.64 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.1885, allocations: 92.05 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.1885, allocations: 7.953 kB / 0.7325 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.1886, allocations: 29.7 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1887, allocations: 326.8 kB / 0.7328 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.1888, allocations: 27.98 kB / 0.7328 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.1889, allocations: 50.55 kB / 0.7329 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.189, allocations: 80.2 kB / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.189, allocations: 0 / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002954/0.1893, allocations: 147.3 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.1894, allocations: 33.7 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1894, allocations: 0 / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1894, allocations: 0 / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.007e-05/0.1894, allocations: 4 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1894, allocations: 3.984 kB / 0.7331 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.1896, allocations: 31.91 kB / 0.7332 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1896, allocations: 4 kB / 0.7332 GB, free: 12.94 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.000113/0.1897, allocations: 117.9 kB / 0.7333 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.1898, allocations: 11.95 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.1898, allocations: 3.688 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1898, allocations: 0 / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1898, allocations: 3.984 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1898, allocations: 0 / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.1899, allocations: 132.7 kB / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1899, allocations: 3.938 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.1899, allocations: 0 / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.1899, allocations: 4 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1899, allocations: 0 / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1899, allocations: 4.312 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1899, allocations: 3.938 kB / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1901, allocations: 81.05 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.1901, allocations: 3.953 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1901, allocations: 8 kB / 0.7335 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.1901, allocations: 0 / 0.7335 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.1901, allocations: 8 kB / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1901, allocations: 7.984 kB / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.1902, allocations: 83.22 kB / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1902, allocations: 0 / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002117/0.1904, allocations: 12 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005238/0.1909, allocations: 0.6243 MB / 0.7342 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.1912, allocations: 107.4 kB / 0.7343 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1912, allocations: 0 / 0.7343 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.1912, allocations: 11.92 kB / 0.7343 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1914, allocations: 11.98 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.193, allocations: 1.365 MB / 0.7357 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1934, allocations: 0.6807 MB / 0.7364 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.986e-05/0.1934, allocations: 0 / 0.7364 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1934, allocations: 15.42 kB / 0.7364 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1934, allocations: 0 / 0.7364 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.2179, allocations: 2.063 MB / 0.7384 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.47, allocations: 5.703 kB / 0.7384 GB, free: 7.496 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Not.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.261696835048497] Failed to read output from testmodel.py, exit status != 0: 11.639086531009525 11.655067215 11.465250362 Calling exit ...