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.001354/0.001354, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001803/0.001803, allocations: 213 kB / 22.99 MB, free: 4.602 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.024/1.024, allocations: 149.9 MB / 463 MB, free: 10.32 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.002253/0.002253, allocations: 63.59 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2155, allocations: 89.17 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002373/0.2179, allocations: 0.7149 MB / 0.7289 GB, free: 312 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.2198, allocations: 1.167 MB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.2198, allocations: 0 / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/0.2199, allocations: 7.922 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.2199, allocations: 11.88 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.2205, allocations: 136.9 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.2207, allocations: 119.8 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2208, allocations: 11.98 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.2209, allocations: 51.89 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.221, allocations: 39.83 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.221, allocations: 15.94 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.2211, allocations: 19.98 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.2211, allocations: 11.92 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.2212, allocations: 43.91 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.2214, allocations: 111.9 kB / 0.7306 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2214, allocations: 0 / 0.7306 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2214, allocations: 4 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2214, allocations: 0 / 0.7306 GB, free: 14.55 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.0006542/0.2221, allocations: 339.7 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2221, allocations: 12.03 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.2222, allocations: 30.75 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.2222, allocations: 12.89 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.2224, allocations: 114.4 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2224, allocations: 4.375 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.2224, allocations: 16.3 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.2226, allocations: 66.23 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2226, allocations: 3.938 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2227, allocations: 0 / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2227, allocations: 0 / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.2229, allocations: 43.94 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.2234, allocations: 283.8 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.2236, allocations: 54.61 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2237, allocations: 32.97 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2237, allocations: 7.922 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.224, allocations: 83.33 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.224, allocations: 0 / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004673/0.2245, allocations: 149.6 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.2245, allocations: 59.41 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2247, allocations: 117.8 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.2247, allocations: 29.7 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.2248, allocations: 92.12 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.2248, allocations: 15.91 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.2249, allocations: 37.7 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.225, allocations: 322.8 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2252, allocations: 85.66 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.2255, allocations: 115.9 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.2258, allocations: 149.8 kB / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2258, allocations: 0 / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005093/0.2263, allocations: 241 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.2263, allocations: 41.73 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2263, allocations: 0 / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2264, allocations: 4 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.2265, allocations: 15.92 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2265, allocations: 320 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2267, allocations: 39.84 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.2267, allocations: 8 kB / 0.7331 GB, free: 11.71 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.0001237/0.2268, allocations: 132.2 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.2268, allocations: 11.94 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.2269, allocations: 8.375 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2269, allocations: 0 / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2269, allocations: 3.938 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2269, allocations: 7.938 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.2274, allocations: 341.5 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2274, allocations: 0 / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.2275, allocations: 11.98 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2275, allocations: 4 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2275, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2275, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2275, allocations: 3.938 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.2278, allocations: 215.4 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.2278, allocations: 7.938 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2278, allocations: 4 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.2279, allocations: 7.984 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.228, allocations: 11.92 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.228, allocations: 11.98 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.228, allocations: 87.28 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.228, allocations: 0 / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002671/0.2283, allocations: 27.92 kB / 0.7339 GB, free: 10.76 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.0007595/0.2291, allocations: 0.7397 MB / 0.7347 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000461/0.2295, allocations: 197 kB / 0.7348 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2295, allocations: 0 / 0.7348 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.2297, allocations: 35.97 kB / 0.7349 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.23, allocations: 18.14 kB / 0.7349 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.2325, allocations: 1.813 MB / 0.7367 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.2325, allocations: 70.59 kB / 0.7367 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.618e-05/0.2326, allocations: 11.84 kB / 0.7367 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.2326, allocations: 19.44 kB / 0.7368 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.2326, allocations: 4 kB / 0.7368 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.2657, allocations: 3.214 MB / 0.7399 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.44, allocations: 8.234 kB / 0.7399 GB, free: 4.594 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 sys.exit(0), Time elapsed: 15.373050913214684] Failed to read output from testmodel.py, exit status != 0: 11.557989506050944 11.586472516 11.359585038 Calling exit ...