Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0009658/0.0009658, 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.001099/0.001099, allocations: 208.1 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.9614/0.9614, allocations: 230.6 MB / 256 MB, free: 9.594 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.03953/0.03953, allocations: 12.18 MB / 324.6 MB, free: 6.109 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.0005706/0.0005706, allocations: 31.95 kB / 384.1 MB, free: 10.53 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.663/1.663, allocations: 353.9 MB / 0.7787 GB, free: 4.57 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.Integers.Validation.LessEqualThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001381/0.001381, allocations: 130.4 kB / 1.06 GB, free: 24.79 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2015, allocations: 134.9 MB / 1.192 GB, free: 7.508 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00143/0.203, allocations: 0.6746 MB / 1.192 GB, free: 6.836 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.2037, allocations: 0.8587 MB / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.2038, allocations: 4 kB / 1.193 GB, free: 5.961 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.2038, allocations: 3.938 kB / 1.193 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.2039, allocations: 7.938 kB / 1.193 GB, free: 5.949 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.204, allocations: 27.89 kB / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.113e-05/0.2041, allocations: 43.86 kB / 1.193 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2042, allocations: 11.98 kB / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.2043, allocations: 19.92 kB / 1.193 GB, free: 5.848 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.2044, allocations: 27.91 kB / 1.193 GB, free: 5.82 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.2044, allocations: 4 kB / 1.193 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.2044, allocations: 4 kB / 1.193 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.2044, allocations: 15.98 kB / 1.193 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.2045, allocations: 11.94 kB / 1.193 GB, free: 5.785 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2046, allocations: 60 kB / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2046, allocations: 0 / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2046, allocations: 0 / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2046, allocations: 0 / 1.193 GB, free: 5.727 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.0004479/0.205, allocations: 274.3 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2051, allocations: 8.031 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.2051, allocations: 38.75 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.2051, allocations: 4.891 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2052, allocations: 122.4 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2052, allocations: 4.375 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.2052, allocations: 8.109 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.2054, allocations: 69.66 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.2054, allocations: 0 / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.2054, allocations: 0 / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2054, allocations: 0 / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.2055, allocations: 47.95 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.2058, allocations: 259.8 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2059, allocations: 58.55 kB / 1.194 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.206, allocations: 36.91 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.206, allocations: 0 / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.206, allocations: 34.56 kB / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.206, allocations: 0 / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002618/0.2063, allocations: 113.6 kB / 1.194 GB, free: 4.531 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2063, allocations: 51.41 kB / 1.194 GB, free: 4.469 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.2064, allocations: 109.8 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2064, allocations: 25.7 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.2065, allocations: 96.02 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2065, allocations: 7.953 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.2065, allocations: 21.66 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.2066, allocations: 318.8 kB / 1.195 GB, free: 3.867 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.2066, allocations: 23.98 kB / 1.195 GB, free: 3.844 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-05/0.2067, allocations: 31.97 kB / 1.195 GB, free: 3.812 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.2068, allocations: 52.75 kB / 1.195 GB, free: 3.758 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2068, allocations: 0 / 1.195 GB, free: 3.758 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.2069, allocations: 81.61 kB / 1.195 GB, free: 3.672 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2069, allocations: 7.984 kB / 1.195 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2069, allocations: 0 / 1.195 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2069, allocations: 0 / 1.195 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.207, allocations: 19.98 kB / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.207, allocations: 0 / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.2071, allocations: 11.94 kB / 1.195 GB, free: 3.633 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.2071, allocations: 7.922 kB / 1.195 GB, free: 3.625 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.69e-05/0.2072, allocations: 109.8 kB / 1.195 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.2072, allocations: 0 / 1.195 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.2072, allocations: 8.328 kB / 1.195 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2072, allocations: 4 kB / 1.195 GB, free: 3.488 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2072, allocations: 0 / 1.195 GB, free: 3.488 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2072, allocations: 7.984 kB / 1.195 GB, free: 3.48 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2073, allocations: 144.6 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.2073, allocations: 7.938 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.2074, allocations: 7.984 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2074, allocations: 4 kB / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2074, allocations: 0 / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.2074, allocations: 0 / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.4e-07/0.2074, allocations: 0 / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.2075, allocations: 179.4 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.2075, allocations: 11.95 kB / 1.196 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2076, allocations: 4 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/0.2076, allocations: 7.984 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.2076, allocations: 11.98 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2076, allocations: 3.938 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.2077, allocations: 99.5 kB / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2077, allocations: 0 / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001459/0.2078, allocations: 8 kB / 1.196 GB, free: 2.941 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003444/0.2082, allocations: 0.7085 MB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.2083, allocations: 59.94 kB / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2083, allocations: 0 / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.2084, allocations: 27.92 kB / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.2086, allocations: 13.8 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2098, allocations: 1.328 MB / 1.198 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.59e-05/0.2098, allocations: 67.34 kB / 1.198 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.2099, allocations: 4.25 kB / 1.198 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.2099, allocations: 27.42 kB / 1.198 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of SimCode: time 1.162e-06/0.2099, allocations: 0 / 1.198 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.2249, allocations: 2.424 MB / 1.2 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.745, allocations: 4.219 kB / 1.2 GB, free: 14.3 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.100630869157612] Failed to read output from testmodel.py, exit status != 0: 6.8225965881720185 6.833315781 6.626858066 Calling exit ...