Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.001514/0.001514, allocations: 118 kB / 17.84 MB, free: 5.234 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.001856/0.001856, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.629/1.629, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 1.101/1.101, allocations: 150 MB / 460.2 MB, free: 5.297 MB / 350.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.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",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.002034/0.002034, allocations: 64.5 kB / 0.6368 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1736, allocations: 89.14 MB / 0.7239 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002057/0.1756, allocations: 0.7281 MB / 0.7246 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1775, allocations: 1.192 MB / 0.7257 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.1776, allocations: 0 / 0.7257 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.1776, allocations: 3.938 kB / 0.7257 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/0.1777, allocations: 7.875 kB / 0.7257 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.1782, allocations: 145.2 kB / 0.7259 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1784, allocations: 107.8 kB / 0.726 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.1785, allocations: 15.98 kB / 0.726 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1786, allocations: 51.89 kB / 0.726 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1787, allocations: 47.81 kB / 0.7261 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.1787, allocations: 12 kB / 0.7261 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.1788, allocations: 20 kB / 0.7261 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.1788, allocations: 15.97 kB / 0.7261 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.1789, allocations: 39.84 kB / 0.7262 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1791, allocations: 107.9 kB / 0.7263 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1791, allocations: 4 kB / 0.7263 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1791, allocations: 0 / 0.7263 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1791, allocations: 7.938 kB / 0.7263 GB, free: 1.543 MB / 0.5294 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.0006792/0.1798, allocations: 412.9 kB / 0.7267 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1798, allocations: 8.031 kB / 0.7267 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/0.1798, allocations: 4.172 kB / 0.7267 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1799, allocations: 38.75 kB / 0.7267 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1799, allocations: 8.891 kB / 0.7267 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1801, allocations: 180.2 kB / 0.7269 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1801, allocations: 4.375 kB / 0.7269 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.1801, allocations: 8.375 kB / 0.7269 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.1803, allocations: 69.97 kB / 0.727 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1804, allocations: 0 / 0.727 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1804, allocations: 0 / 0.727 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1804, allocations: 0 / 0.727 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.1806, allocations: 47.89 kB / 0.727 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.1811, allocations: 328.7 kB / 0.7273 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1813, allocations: 58.55 kB / 0.7274 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1814, allocations: 32.97 kB / 0.7274 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1815, allocations: 0 / 0.7274 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.1817, allocations: 95.38 kB / 0.7275 GB, free: 88 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.674e-06/0.1817, allocations: 3.938 kB / 0.7275 GB, free: 84 kB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004855/0.1822, allocations: 137.6 kB / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1822, allocations: 55.34 kB / 0.7277 GB, free: 15.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1823, allocations: 125.7 kB / 0.7278 GB, free: 15.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1824, allocations: 29.7 kB / 0.7279 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.1824, allocations: 92.12 kB / 0.7279 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1825, allocations: 19.91 kB / 0.728 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.1825, allocations: 37.7 kB / 0.728 GB, free: 15.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1827, allocations: 322.8 kB / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1829, allocations: 51.95 kB / 0.7284 GB, free: 15.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.183, allocations: 88.25 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.1833, allocations: 145.9 kB / 0.7286 GB, free: 14.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1833, allocations: 0 / 0.7286 GB, free: 14.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000482/0.1838, allocations: 215.5 kB / 0.7288 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.1839, allocations: 37.64 kB / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1839, allocations: 3.984 kB / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1839, allocations: 4 kB / 0.7288 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.184, allocations: 11.98 kB / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.184, allocations: 0 / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.1842, allocations: 47.97 kB / 0.7289 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1842, allocations: 8 kB / 0.7289 GB, free: 14.57 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,edge1.y,edge1.u,$PRE.edge1.u,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.0001215/0.1844, allocations: 129.7 kB / 0.729 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.1844, allocations: 3.953 kB / 0.729 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.1844, allocations: 12.38 kB / 0.729 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1844, allocations: 0 / 0.729 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1844, allocations: 0 / 0.729 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1844, allocations: 0 / 0.729 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.1849, allocations: 382.4 kB / 0.7294 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1849, allocations: 4 kB / 0.7294 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.185, allocations: 11.97 kB / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.185, allocations: 0 / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.185, allocations: 0 / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.185, allocations: 4 kB / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.185, allocations: 3.938 kB / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.1854, allocations: 207.4 kB / 0.7296 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.1854, allocations: 85.06 kB / 0.7297 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1854, allocations: 4 kB / 0.7297 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.1855, allocations: 7.984 kB / 0.7297 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.1856, allocations: 11.92 kB / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1856, allocations: 4 kB / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.1856, allocations: 95.27 kB / 0.7298 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1856, allocations: 0 / 0.7298 GB, free: 13.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002933/0.1859, allocations: 27.88 kB / 0.7298 GB, free: 13.49 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0007151/0.1867, allocations: 0.7476 MB / 0.7306 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.1871, allocations: 159.3 kB / 0.7307 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1871, allocations: 0 / 0.7307 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1872, allocations: 43.84 kB / 0.7308 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.1875, allocations: 20.11 kB / 0.7308 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.1898, allocations: 1.692 MB / 0.7324 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1901, allocations: 0.6918 MB / 0.7331 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.1901, allocations: 4 kB / 0.7331 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.1902, allocations: 23.42 kB / 0.7331 GB, free: 9.938 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1902, allocations: 4 kB / 0.7331 GB, free: 9.934 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.2099, allocations: 2.587 MB / 0.7357 GB, free: 7.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.408, allocations: 21.91 kB / 0.7357 GB, free: 7.426 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.64263859699713] Failed to read output from testmodel.py, exit status != 0: 8.53661969100358 8.55437922 8.371963483 Calling exit ...