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.001779/0.001779, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001595/0.001595, allocations: 210.8 kB / 23.04 MB, free: 5.008 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.719 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.9743/0.9743, allocations: 150 MB / 463.2 MB, free: 10.15 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",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.00199/0.00199, allocations: 60.48 kB / 0.6413 GB, free: 9.809 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.204, allocations: 89.18 MB / 0.7284 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001988/0.206, allocations: 0.7231 MB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2076, allocations: 1.159 MB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.2077, allocations: 0 / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.2077, allocations: 3.938 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.2078, allocations: 19.86 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.2083, allocations: 139.2 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.2085, allocations: 115.8 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.2085, allocations: 11.98 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2087, allocations: 43.91 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2088, allocations: 47.8 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.2088, allocations: 12 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.2089, allocations: 20 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.2089, allocations: 11.98 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.209, allocations: 39.86 kB / 0.7306 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.2091, allocations: 111.9 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2092, allocations: 0 / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2092, allocations: 3.938 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2092, allocations: 3.938 kB / 0.7308 GB, free: 14.25 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.00059/0.2098, allocations: 339.8 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2098, allocations: 8.031 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.2098, allocations: 30.75 kB / 0.7311 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.2099, allocations: 16.89 kB / 0.7311 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.21, allocations: 118.4 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.21, allocations: 8.375 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.21, allocations: 4.375 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2102, allocations: 66.22 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2102, allocations: 3.938 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2102, allocations: 0 / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2102, allocations: 0 / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.2104, allocations: 55.81 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.2109, allocations: 283.9 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.2111, allocations: 50.61 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.2112, allocations: 36.89 kB / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.2112, allocations: 0 / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.2115, allocations: 91.31 kB / 0.7318 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.2115, allocations: 4 kB / 0.7318 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004638/0.2119, allocations: 133.6 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.212, allocations: 59.34 kB / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2121, allocations: 125.1 kB / 0.7321 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.2121, allocations: 33.7 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.2122, allocations: 88.14 kB / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.2122, allocations: 19.97 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-05/0.2123, allocations: 41.69 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2124, allocations: 314.8 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2126, allocations: 93.59 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.2128, allocations: 114 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.2131, allocations: 141.9 kB / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2131, allocations: 0 / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004881/0.2136, allocations: 248.8 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.2136, allocations: 33.7 kB / 0.7332 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2136, allocations: 0 / 0.7332 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2137, allocations: 4 kB / 0.7332 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.2137, allocations: 11.98 kB / 0.7332 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2138, allocations: 0 / 0.7332 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.214, allocations: 47.97 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.214, allocations: 8 kB / 0.7333 GB, free: 11.4 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.0001139/0.2141, allocations: 129.7 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.2141, allocations: 7.953 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.2142, allocations: 8.375 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2142, allocations: 0 / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2142, allocations: 3.984 kB / 0.7334 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2142, allocations: 4 kB / 0.7334 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.2147, allocations: 345.5 kB / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2147, allocations: 0 / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.2147, allocations: 8 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2147, allocations: 0 / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2147, allocations: 3.984 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2147, allocations: 0 / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2147, allocations: 0 / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.2151, allocations: 215.4 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.2151, allocations: 11.95 kB / 0.734 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2151, allocations: 7.875 kB / 0.734 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.2152, allocations: 11.98 kB / 0.734 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.2152, allocations: 11.92 kB / 0.734 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2152, allocations: 0 / 0.734 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.2153, allocations: 95.2 kB / 0.7341 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2153, allocations: 0 / 0.7341 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002705/0.2156, allocations: 27.94 kB / 0.7341 GB, free: 10.45 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.000682/0.2163, allocations: 0.7441 MB / 0.7349 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.2167, allocations: 197 kB / 0.735 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2167, allocations: 0 / 0.735 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.2168, allocations: 31.92 kB / 0.7351 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2171, allocations: 24.17 kB / 0.7351 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.2195, allocations: 1.806 MB / 0.7369 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.572e-05/0.2196, allocations: 71.33 kB / 0.7369 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.2196, allocations: 11.86 kB / 0.7369 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.2197, allocations: 19.44 kB / 0.737 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.2197, allocations: 0 / 0.737 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.2512, allocations: 3.219 MB / 0.7401 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.24, allocations: 3.406 kB / 0.7401 GB, free: 4.293 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.093617459060624] Failed to read output from testmodel.py, exit status != 0: 11.349395988043398 11.375747557 11.161863413 Calling exit ...