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.001472/0.001472, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001676/0.001676, allocations: 214.3 kB / 23.78 MB, free: 4.523 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.505/1.505, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.9602/0.9602, allocations: 150 MB / 464 MB, free: 10.22 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.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.003378/0.003378, allocations: 67.55 kB / 0.642 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2022, allocations: 89.18 MB / 0.7291 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002218/0.2045, allocations: 0.7067 MB / 0.7297 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2061, allocations: 1.167 MB / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.2062, allocations: 3.938 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.2062, allocations: 3.938 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.2063, allocations: 11.92 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.2068, allocations: 131.2 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.207, allocations: 115.8 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.2071, allocations: 15.97 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.2072, allocations: 51.84 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.2073, allocations: 51.81 kB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.2073, allocations: 12 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.875e-05/0.2074, allocations: 23.98 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.2074, allocations: 4 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.2075, allocations: 43.78 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.2077, allocations: 119.9 kB / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2077, allocations: 0 / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2077, allocations: 0 / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2077, allocations: 0 / 0.7315 GB, free: 14.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006261/0.2083, allocations: 331.8 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2083, allocations: 16.03 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.876e-05/0.2084, allocations: 192 / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.2084, allocations: 34.75 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.2084, allocations: 16.88 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2086, allocations: 118.4 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2086, allocations: 4.375 kB / 0.7319 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.2086, allocations: 8.375 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.2088, allocations: 69.97 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2088, allocations: 0 / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2088, allocations: 0 / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2088, allocations: 7.984 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.209, allocations: 39.95 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.2096, allocations: 283.8 kB / 0.7323 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.2098, allocations: 50.55 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.2099, allocations: 37.02 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2099, allocations: 4 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.2102, allocations: 95.25 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.2102, allocations: 0 / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004772/0.2107, allocations: 133.6 kB / 0.7326 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.2108, allocations: 55.41 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2109, allocations: 128.7 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.2109, allocations: 25.7 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.211, allocations: 96.08 kB / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.2111, allocations: 23.95 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.2111, allocations: 37.7 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2113, allocations: 326.8 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2115, allocations: 81.61 kB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2117, allocations: 113.9 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.212, allocations: 145.9 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.212, allocations: 4 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004862/0.2125, allocations: 241.2 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.2125, allocations: 33.69 kB / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2125, allocations: 7.984 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2125, allocations: 4.125 kB / 0.7339 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.2127, allocations: 15.98 kB / 0.7339 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2127, allocations: 4 kB / 0.7339 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.2129, allocations: 39.8 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2129, allocations: 7.984 kB / 0.734 GB, free: 11.51 MB / 0.5606 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.0001184/0.213, allocations: 129.7 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.213, allocations: 7.953 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.2131, allocations: 8.375 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2131, allocations: 4 kB / 0.7341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2131, allocations: 0 / 0.7341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.2131, allocations: 3.984 kB / 0.7341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.2136, allocations: 333.6 kB / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2136, allocations: 0 / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.2136, allocations: 19.92 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2136, allocations: 0 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2136, allocations: 0 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2136, allocations: 4 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2136, allocations: 7.938 kB / 0.7345 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.214, allocations: 203.5 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.214, allocations: 7.953 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.214, allocations: 7.938 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.2141, allocations: 7.984 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.2141, allocations: 11.92 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2141, allocations: 0 / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.2142, allocations: 103.3 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2142, allocations: 0 / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002645/0.2144, allocations: 23.94 kB / 0.7348 GB, free: 10.57 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: 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.000711/0.2152, allocations: 0.7475 MB / 0.7355 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.2156, allocations: 189.2 kB / 0.7357 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2156, allocations: 4.062 kB / 0.7357 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2157, allocations: 39.91 kB / 0.7358 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.216, allocations: 14.12 kB / 0.7358 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.2183, allocations: 1.809 MB / 0.7376 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.2184, allocations: 71.33 kB / 0.7376 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.2185, allocations: 7.859 kB / 0.7376 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.2185, allocations: 23.42 kB / 0.7377 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.2185, allocations: 3.938 kB / 0.7377 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.2428, allocations: 2.842 MB / 0.7404 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.49, allocations: 9.969 kB / 0.7404 GB, free: 4.785 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.41096108709462] Failed to read output from testmodel.py, exit status != 0: 11.652819940005429 11.675563315 11.46336748 Calling exit ...