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.001427/0.001427, allocations: 105 kB / 20.48 MB, free: 1.488 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.002458/0.002458, allocations: 216 kB / 23.79 MB, free: 4.703 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.485/1.485, 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 1.018/1.018, allocations: 150 MB / 464 MB, free: 10.49 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.001957/0.001957, allocations: 62.06 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2003, allocations: 89.18 MB / 0.7291 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001893/0.2022, allocations: 0.7186 MB / 0.7298 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2037, allocations: 1.19 MB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.2038, allocations: 4 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.2038, allocations: 3.938 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.2039, allocations: 11.86 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.2044, allocations: 138.9 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.2046, allocations: 119.7 kB / 0.7313 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.2047, allocations: 8 kB / 0.7313 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.2048, allocations: 47.91 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2049, allocations: 51.8 kB / 0.7314 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.2049, allocations: 12 kB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.205, allocations: 20 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.205, allocations: 15.98 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.2051, allocations: 39.84 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.2053, allocations: 119.8 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2053, allocations: 4 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2053, allocations: 0 / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.2053, allocations: 4 kB / 0.7316 GB, free: 14.76 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.0006052/0.2059, allocations: 331.8 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.206, allocations: 8.031 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/0.206, allocations: 192 / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.206, allocations: 38.75 kB / 0.7319 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.2061, allocations: 8.891 kB / 0.7319 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2062, allocations: 127.8 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2062, allocations: 4.375 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.2062, allocations: 16.36 kB / 0.7321 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.2064, allocations: 61.97 kB / 0.7321 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2064, allocations: 3.938 kB / 0.7321 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2064, allocations: 8 kB / 0.7321 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2064, allocations: 4 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.2066, allocations: 39.95 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.2072, allocations: 299.8 kB / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.2074, allocations: 66.48 kB / 0.7325 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.2075, allocations: 28.95 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.2075, allocations: 4 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.2077, allocations: 95.3 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.2077, allocations: 0 / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.000471/0.2082, allocations: 133.6 kB / 0.7328 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.2083, allocations: 63.41 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2084, allocations: 121.8 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.2084, allocations: 29.7 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.2085, allocations: 92.2 kB / 0.7331 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.2085, allocations: 15.91 kB / 0.7331 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.2086, allocations: 37.69 kB / 0.7331 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2087, allocations: 322.8 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2089, allocations: 55.95 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2091, allocations: 86.98 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.2094, allocations: 137.9 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.2094, allocations: 4 kB / 0.7337 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004662/0.2099, allocations: 207.1 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.2099, allocations: 41.69 kB / 0.7339 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2099, allocations: 4 kB / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2099, allocations: 4.125 kB / 0.734 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.21, allocations: 11.98 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.21, allocations: 7.938 kB / 0.734 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2102, allocations: 35.86 kB / 0.734 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.2103, allocations: 7.984 kB / 0.734 GB, free: 12 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.0001121/0.2104, allocations: 125.8 kB / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.2104, allocations: 11.95 kB / 0.7341 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.2104, allocations: 8.375 kB / 0.7342 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2104, allocations: 3.938 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2104, allocations: 0 / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2104, allocations: 4 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.2109, allocations: 345.5 kB / 0.7345 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2109, allocations: 0 / 0.7345 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.211, allocations: 15.92 kB / 0.7345 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.211, allocations: 4 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.211, allocations: 0 / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.211, allocations: 0 / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.211, allocations: 3.938 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.2114, allocations: 215.4 kB / 0.7347 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.2114, allocations: 8.016 kB / 0.7347 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2114, allocations: 11.98 kB / 0.7347 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.2115, allocations: 4 kB / 0.7347 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.2115, allocations: 15.92 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2115, allocations: 4 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.2116, allocations: 91.27 kB / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2116, allocations: 0 / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002732/0.2119, allocations: 27.94 kB / 0.7349 GB, free: 11.04 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.0007059/0.2126, allocations: 0.7479 MB / 0.7356 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.213, allocations: 163.3 kB / 0.7358 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.213, allocations: 256 / 0.7358 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.2131, allocations: 35.97 kB / 0.7358 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2134, allocations: 15.94 kB / 0.7358 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2156, allocations: 1.69 MB / 0.7375 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.216, allocations: 0.6885 MB / 0.7381 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.216, allocations: 7.984 kB / 0.7381 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.2161, allocations: 23.42 kB / 0.7382 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2161, allocations: 0 / 0.7382 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.2405, allocations: 2.716 MB / 0.7408 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.42, allocations: 5 kB / 0.7408 GB, free: 4.938 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.362213277025148] Failed to read output from testmodel.py, exit status != 0: 11.586055871972349 11.602399681 11.393956643 Calling exit ...