Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.0009583/0.0009583, 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.001019/0.001019, allocations: 218.3 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.9852/0.9852, allocations: 230.6 MB / 256 MB, free: 9.816 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.03682/0.03682, allocations: 12.18 MB / 324.6 MB, free: 6.363 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.000356/0.000356, allocations: 27.94 kB / 384.1 MB, free: 10.77 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.699/1.699, 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.Reals.Validation.Hysteresis,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis",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.001468/0.001468, allocations: 119.2 kB / 1.06 GB, free: 25.06 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2172, allocations: 134.9 MB / 1.192 GB, free: 7.855 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001663/0.2188, allocations: 0.8388 MB / 1.193 GB, free: 7.016 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008422/0.2197, allocations: 0.9249 MB / 1.194 GB, free: 6.078 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.2197, allocations: 4 kB / 1.194 GB, free: 6.074 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.2198, allocations: 7.875 kB / 1.194 GB, free: 6.066 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.314e-05/0.2199, allocations: 15.75 kB / 1.194 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2202, allocations: 47.92 kB / 1.194 GB, free: 6.004 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.2203, allocations: 115.6 kB / 1.194 GB, free: 5.891 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.2204, allocations: 25.03 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.2207, allocations: 59.84 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.2208, allocations: 55.75 kB / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2208, allocations: 12 kB / 1.194 GB, free: 5.738 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.055e-05/0.2208, allocations: 12 kB / 1.194 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.2208, allocations: 31.84 kB / 1.194 GB, free: 5.695 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.2209, allocations: 47.72 kB / 1.194 GB, free: 5.648 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.221, allocations: 123.7 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.221, allocations: 3.938 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.221, allocations: 4 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.221, allocations: 0 / 1.194 GB, free: 5.52 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000512/0.2215, allocations: 369.7 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2216, allocations: 12.03 kB / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.2216, allocations: 38.75 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.2218, allocations: 36.81 kB / 1.195 GB, free: 5.031 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.2221, allocations: 197.2 kB / 1.195 GB, free: 4.816 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.2221, allocations: 4.375 kB / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2221, allocations: 12.36 kB / 1.195 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2223, allocations: 124.5 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2224, allocations: 0 / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.2224, allocations: 0 / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2224, allocations: 0 / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.2225, allocations: 79.86 kB / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.223, allocations: 468.1 kB / 1.195 GB, free: 4.078 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.2231, allocations: 119.8 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.2232, allocations: 52.02 kB / 1.196 GB, free: 3.875 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.2233, allocations: 4 kB / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2233, allocations: 34.56 kB / 1.196 GB, free: 3.828 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.2233, allocations: 4 kB / 1.196 GB, free: 3.824 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.000316/0.2236, allocations: 157.4 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.2237, allocations: 106.8 kB / 1.196 GB, free: 3.535 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2238, allocations: 150.4 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2238, allocations: 37.7 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.2238, allocations: 108.4 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2239, allocations: 27.78 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.2239, allocations: 29.7 kB / 1.196 GB, free: 3.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.224, allocations: 326.8 kB / 1.196 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.2241, allocations: 39.97 kB / 1.196 GB, free: 2.793 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.2241, allocations: 81.11 kB / 1.197 GB, free: 2.695 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2243, allocations: 94.45 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2243, allocations: 0 / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001714/0.2244, allocations: 141.5 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.2245, allocations: 4 kB / 1.197 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2245, allocations: 4.328 kB / 1.197 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2245, allocations: 3.984 kB / 1.197 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.2246, allocations: 15.98 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.2246, allocations: 7.938 kB / 1.197 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.2246, allocations: 15.98 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2246, allocations: 4 kB / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.57e-05/0.2247, allocations: 129.8 kB / 1.197 GB, free: 2.258 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.2247, allocations: 19.84 kB / 1.197 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.2249, allocations: 85.98 kB / 1.197 GB, free: 2.145 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2249, allocations: 8 kB / 1.197 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2249, allocations: 8 kB / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2249, allocations: 0 / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2251, allocations: 168.6 kB / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2251, allocations: 4 kB / 1.197 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.2251, allocations: 19.97 kB / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2251, allocations: 0 / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2251, allocations: 0 / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2251, allocations: 7.938 kB / 1.197 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2251, allocations: 0 / 1.197 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.2253, allocations: 381.8 kB / 1.198 GB, free: 1.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.2254, allocations: 11.89 kB / 1.198 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.2254, allocations: 8 kB / 1.198 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2255, allocations: 15.98 kB / 1.198 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.2255, allocations: 23.95 kB / 1.198 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.2256, allocations: 11.92 kB / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.2256, allocations: 115.4 kB / 1.198 GB, free: 1.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2256, allocations: 0 / 1.198 GB, free: 1.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001953/0.2258, allocations: 16 kB / 1.198 GB, free: 1.305 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000633/0.2264, allocations: 0.8984 MB / 1.199 GB, free: 388 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2266, allocations: 99.86 kB / 1.199 GB, free: 288 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2266, allocations: 0 / 1.199 GB, free: 288 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.748e-05/0.2267, allocations: 51.89 kB / 1.199 GB, free: 236 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.227, allocations: 17.81 kB / 1.199 GB, free: 220 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2283, allocations: 1.804 MB / 1.201 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2285, allocations: 0.7002 MB / 1.201 GB, free: 13.58 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.009e-05/0.2285, allocations: 16.97 kB / 1.201 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.2286, allocations: 31.42 kB / 1.201 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of SimCode: time 7.61e-07/0.2286, allocations: 0 / 1.201 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.2426, allocations: 2.873 MB / 1.204 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/6.764, allocations: 0 / 1.204 GB, free: 10.79 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.149823463521898] Failed to read output from testmodel.py, exit status != 0: 6.8420102670788765 6.851930076 6.628750223 Calling exit ...