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.000841/0.000841, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000789/0.000789, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9611/0.9611, allocations: 230.6 MB / 256 MB, free: 9.809 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.03887/0.03887, allocations: 12.17 MB / 324.6 MB, free: 6.297 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.0004379/0.0004379, allocations: 27.94 kB / 384.1 MB, free: 10.7 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.682/1.682, allocations: 353.8 MB / 0.7787 GB, free: 3.16 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.001549/0.001549, allocations: 120.7 kB / 1.06 GB, free: 25 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 134.9 MB / 1.192 GB, free: 7.961 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001576/0.2226, allocations: 0.7479 MB / 1.192 GB, free: 7.215 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2238, allocations: 1.207 MB / 1.194 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.2238, allocations: 0 / 1.194 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.2239, allocations: 3.938 kB / 1.194 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.2239, allocations: 11.88 kB / 1.194 GB, free: 5.98 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.2243, allocations: 132.3 kB / 1.194 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.2245, allocations: 123.7 kB / 1.194 GB, free: 5.734 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.205e-05/0.2246, allocations: 11.98 kB / 1.194 GB, free: 5.723 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.2246, allocations: 43.92 kB / 1.194 GB, free: 5.68 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.2247, allocations: 47.86 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2247, allocations: 12 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.602e-05/0.2248, allocations: 27.92 kB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.2248, allocations: 11.94 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.2249, allocations: 47.83 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.225, allocations: 107.9 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.225, allocations: 0 / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.202e-06/0.225, allocations: 0 / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.225, allocations: 4 kB / 1.194 GB, free: 5.426 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.0005045/0.2255, allocations: 339.8 kB / 1.195 GB, free: 5.055 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2256, allocations: 8.031 kB / 1.195 GB, free: 5.047 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.2256, allocations: 38.73 kB / 1.195 GB, free: 5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.2256, allocations: 12.89 kB / 1.195 GB, free: 4.988 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.2257, allocations: 110.5 kB / 1.195 GB, free: 4.855 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2257, allocations: 4.375 kB / 1.195 GB, free: 4.852 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.2257, allocations: 4.375 kB / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.2258, allocations: 74.16 kB / 1.195 GB, free: 4.77 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-06/0.2258, allocations: 3.938 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2259, allocations: 0 / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.2259, allocations: 0 / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.2259, allocations: 43.95 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.2263, allocations: 303.8 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2264, allocations: 58.55 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.2265, allocations: 36.95 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.2265, allocations: 0 / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.2267, allocations: 87.36 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2267, allocations: 0 / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.000258/0.227, allocations: 149.5 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.227, allocations: 55.34 kB / 1.195 GB, free: 3.961 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.2271, allocations: 125.8 kB / 1.196 GB, free: 3.828 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2271, allocations: 29.7 kB / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.2272, allocations: 96.09 kB / 1.196 GB, free: 3.695 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2272, allocations: 19.89 kB / 1.196 GB, free: 3.676 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.2272, allocations: 37.7 kB / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.2273, allocations: 326.8 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.2274, allocations: 43.97 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.701e-05/0.2275, allocations: 88.25 kB / 1.196 GB, free: 3.16 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2277, allocations: 145.8 kB / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2277, allocations: 4 kB / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002492/0.2279, allocations: 215.5 kB / 1.197 GB, free: 2.77 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.2279, allocations: 37.69 kB / 1.197 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2279, allocations: 0 / 1.197 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.228, allocations: 4 kB / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.228, allocations: 19.91 kB / 1.197 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.904e-05/0.2281, allocations: 3.984 kB / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2282, allocations: 40.03 kB / 1.197 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2282, allocations: 11.98 kB / 1.197 GB, free: 2.648 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 6.409e-05/0.2283, allocations: 121.8 kB / 1.197 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-06/0.2283, allocations: 7.953 kB / 1.197 GB, free: 2.512 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.2283, allocations: 8.375 kB / 1.197 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2283, allocations: 0 / 1.197 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2283, allocations: 3.984 kB / 1.197 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2283, allocations: 4 kB / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.2286, allocations: 349.5 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2286, allocations: 0 / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.2286, allocations: 11.92 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2286, allocations: 0 / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2286, allocations: 0 / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2286, allocations: 4 kB / 1.197 GB, free: 2.086 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2286, allocations: 4 kB / 1.197 GB, free: 2.082 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2288, allocations: 215.3 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.2288, allocations: 7.984 kB / 1.197 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.2288, allocations: 0 / 1.197 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.635e-05/0.2289, allocations: 4 kB / 1.197 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.2289, allocations: 11.92 kB / 1.197 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2289, allocations: 11.98 kB / 1.197 GB, free: 1.82 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.229, allocations: 87.83 kB / 1.198 GB, free: 1.734 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.229, allocations: 0 / 1.198 GB, free: 1.734 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001749/0.2291, allocations: 27.94 kB / 1.198 GB, free: 1.707 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.0004606/0.2296, allocations: 0.7435 MB / 1.198 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.2298, allocations: 167.2 kB / 1.198 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2298, allocations: 0 / 1.198 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.2299, allocations: 35.97 kB / 1.198 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.2301, allocations: 17.92 kB / 1.198 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2315, allocations: 1.686 MB / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2317, allocations: 0.6933 MB / 1.201 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.2317, allocations: 4 kB / 1.201 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.2317, allocations: 19.44 kB / 1.201 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of SimCode: time 1.684e-06/0.2317, allocations: 0 / 1.201 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2499, allocations: 2.71 MB / 1.203 GB, free: 11.6 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/6.687, allocations: 5.547 kB / 1.203 GB, free: 11.6 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.015131915919483] Failed to read output from testmodel.py, exit status != 0: 6.765713264234364 6.77669727 6.549729757 Calling exit ...