Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007663/0.0007663, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001036/0.001036, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.9336/0.9336, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0468/0.0468, allocations: 12.19 MB / 324.6 MB, free: 6.195 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004237/0.0004237, allocations: 27.95 kB / 384.1 MB, free: 10.62 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.7/1.7, allocations: 353.8 MB / 0.7787 GB, free: 4.566 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001461/0.001461, allocations: 125.7 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2266, allocations: 134.9 MB / 1.192 GB, free: 7.539 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001619/0.2282, allocations: 0.7206 MB / 1.192 GB, free: 6.82 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2297, allocations: 1.18 MB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.2298, allocations: 4 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.2298, allocations: 3.938 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.2299, allocations: 19.86 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.2303, allocations: 130.4 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.2304, allocations: 111.8 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.2305, allocations: 15.97 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.2306, allocations: 47.86 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.504e-05/0.2307, allocations: 39.81 kB / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2307, allocations: 15.98 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.2308, allocations: 20 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.2308, allocations: 15.92 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.2308, allocations: 39.91 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.231, allocations: 107.9 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.231, allocations: 8 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.392e-06/0.231, allocations: 0 / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.231, allocations: 0 / 1.194 GB, free: 5.062 MB / 0.823 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.0004498/0.2315, allocations: 335.8 kB / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2315, allocations: 8.031 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.2315, allocations: 38.75 kB / 1.194 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.2316, allocations: 8.891 kB / 1.194 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.2316, allocations: 118.5 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2316, allocations: 12.3 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.2317, allocations: 12.38 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2318, allocations: 58.22 kB / 1.195 GB, free: 4.406 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2318, allocations: 3.938 kB / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2318, allocations: 4 kB / 1.195 GB, free: 4.398 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2318, allocations: 4 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.487e-05/0.2319, allocations: 35.95 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.2323, allocations: 287.8 kB / 1.195 GB, free: 4.035 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2324, allocations: 58.55 kB / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.2325, allocations: 36.89 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2325, allocations: 4 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.2327, allocations: 87.42 kB / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.2327, allocations: 0 / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002755/0.2329, allocations: 145.5 kB / 1.195 GB, free: 3.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.233, allocations: 51.41 kB / 1.195 GB, free: 3.617 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.233, allocations: 129.8 kB / 1.195 GB, free: 3.48 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.233, allocations: 29.7 kB / 1.195 GB, free: 3.445 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.2331, allocations: 92.09 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.2331, allocations: 23.88 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.2332, allocations: 37.7 kB / 1.196 GB, free: 3.285 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.2332, allocations: 326.8 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2334, allocations: 81.67 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2335, allocations: 120.3 kB / 1.196 GB, free: 2.734 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2336, allocations: 146.1 kB / 1.196 GB, free: 2.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2336, allocations: 4 kB / 1.196 GB, free: 2.566 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002655/0.2339, allocations: 245 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.2339, allocations: 37.69 kB / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2339, allocations: 0 / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2339, allocations: 0 / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.234, allocations: 15.92 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.234, allocations: 4 kB / 1.197 GB, free: 2.246 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.2341, allocations: 40.03 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2341, allocations: 7.984 kB / 1.197 GB, free: 2.199 MB / 0.823 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 7.073e-05/0.2342, allocations: 121.8 kB / 1.197 GB, free: 2.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.2342, allocations: 7.953 kB / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.2342, allocations: 8.375 kB / 1.197 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2342, allocations: 4 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2343, allocations: 3.938 kB / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2343, allocations: 0 / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.2346, allocations: 349.5 kB / 1.197 GB, free: 1.652 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2346, allocations: 4 kB / 1.197 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.2346, allocations: 7.984 kB / 1.197 GB, free: 1.641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2346, allocations: 0 / 1.197 GB, free: 1.641 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2346, allocations: 4 kB / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2346, allocations: 4 kB / 1.197 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2346, allocations: 3.938 kB / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.2348, allocations: 207.4 kB / 1.197 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.2348, allocations: 4 kB / 1.197 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2348, allocations: 0 / 1.197 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.2348, allocations: 11.98 kB / 1.197 GB, free: 1.395 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.2349, allocations: 15.86 kB / 1.197 GB, free: 1.379 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.2349, allocations: 0 / 1.197 GB, free: 1.379 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.2349, allocations: 95.27 kB / 1.197 GB, free: 1.285 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2349, allocations: 0 / 1.197 GB, free: 1.285 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000179/0.2351, allocations: 27.94 kB / 1.197 GB, free: 1.258 MB / 0.823 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.0003932/0.2355, allocations: 0.7475 MB / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.2357, allocations: 189 kB / 1.198 GB, free: 288 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2357, allocations: 4 kB / 1.198 GB, free: 284 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.2358, allocations: 31.97 kB / 1.198 GB, free: 252 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.236, allocations: 19.73 kB / 1.198 GB, free: 236 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.2376, allocations: 1.818 MB / 1.2 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.2377, allocations: 75.58 kB / 1.2 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.2377, allocations: 11.98 kB / 1.2 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.2377, allocations: 23.42 kB / 1.2 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of SimCode: time 5.81e-07/0.2377, allocations: 0 / 1.2 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.2524, allocations: 3.21 MB / 1.203 GB, free: 11.09 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/6.918, allocations: 10.06 kB / 1.203 GB, free: 11.08 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Edge.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.268947432748973] Failed to read output from testmodel.py, exit status != 0: 6.997390557080507 7.006576697 6.773902155 Calling exit ...