Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0008802/0.0008802, 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.001001/0.001001, allocations: 217.7 kB / 22.26 MB, free: 3.699 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.9599/0.9599, 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.289 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.0004367/0.0004367, allocations: 31.88 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.676/1.676, allocations: 353.8 MB / 0.7787 GB, free: 3.125 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.GreaterThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001422/0.001422, allocations: 122.2 kB / 1.06 GB, free: 24.89 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2298, allocations: 134.9 MB / 1.192 GB, free: 7.84 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00157/0.2314, allocations: 0.698 MB / 1.192 GB, free: 7.145 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.2321, allocations: 0.8666 MB / 1.193 GB, free: 6.266 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.2322, allocations: 0 / 1.193 GB, free: 6.266 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.2322, allocations: 3.938 kB / 1.193 GB, free: 6.262 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.2323, allocations: 11.92 kB / 1.193 GB, free: 6.25 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.2324, allocations: 27.91 kB / 1.193 GB, free: 6.223 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.2325, allocations: 39.86 kB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2326, allocations: 11.98 kB / 1.193 GB, free: 6.172 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.2326, allocations: 23.97 kB / 1.193 GB, free: 6.148 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.2327, allocations: 31.86 kB / 1.193 GB, free: 6.117 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2327, allocations: 4 kB / 1.193 GB, free: 6.113 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.2327, allocations: 4 kB / 1.193 GB, free: 6.109 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.2327, allocations: 7.984 kB / 1.193 GB, free: 6.102 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.2328, allocations: 23.88 kB / 1.193 GB, free: 6.078 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.333e-05/0.2329, allocations: 52.06 kB / 1.194 GB, free: 6.027 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2329, allocations: 3.938 kB / 1.194 GB, free: 6.023 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2329, allocations: 0 / 1.194 GB, free: 6.023 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2329, allocations: 0 / 1.194 GB, free: 6.023 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.0003757/0.2333, allocations: 282.3 kB / 1.194 GB, free: 5.719 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.552e-05/0.2333, allocations: 8.031 kB / 1.194 GB, free: 5.711 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.2334, allocations: 34.75 kB / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.2334, allocations: 4.891 kB / 1.194 GB, free: 5.664 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.995e-05/0.2335, allocations: 118.4 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2335, allocations: 8.359 kB / 1.194 GB, free: 5.516 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2335, allocations: 4.125 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.2337, allocations: 69.64 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2337, allocations: 0 / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.2337, allocations: 4 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2337, allocations: 0 / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.2338, allocations: 51.95 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2341, allocations: 263.8 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.2342, allocations: 70.56 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.2343, allocations: 28.83 kB / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2343, allocations: 3.984 kB / 1.194 GB, free: 4.969 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.2343, allocations: 30.56 kB / 1.194 GB, free: 4.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2343, allocations: 0 / 1.194 GB, free: 4.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0003015/0.2346, allocations: 109.6 kB / 1.195 GB, free: 4.816 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2347, allocations: 55.41 kB / 1.195 GB, free: 4.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.2347, allocations: 109.8 kB / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.2347, allocations: 25.7 kB / 1.195 GB, free: 4.602 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.2348, allocations: 88.09 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.2348, allocations: 7.953 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.2348, allocations: 21.7 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.2349, allocations: 318.8 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.2349, allocations: 27.97 kB / 1.195 GB, free: 4.129 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.235, allocations: 23.97 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.868e-05/0.2351, allocations: 52.77 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2351, allocations: 0 / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.2352, allocations: 85.59 kB / 1.195 GB, free: 3.961 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2352, allocations: 8 kB / 1.195 GB, free: 3.953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2352, allocations: 4 kB / 1.195 GB, free: 3.949 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2352, allocations: 0 / 1.195 GB, free: 3.949 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.2353, allocations: 12.31 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.2353, allocations: 0 / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.2354, allocations: 11.92 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.2354, allocations: 7.938 kB / 1.195 GB, free: 3.918 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,intGreThr.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 8.116e-05/0.2355, allocations: 110.9 kB / 1.195 GB, free: 3.801 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.2355, allocations: 15.91 kB / 1.196 GB, free: 3.785 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.2355, allocations: 8 kB / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2355, allocations: 0 / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2355, allocations: 0 / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2355, allocations: 0 / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2356, allocations: 160.5 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2356, allocations: 0 / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.2357, allocations: 11.98 kB / 1.196 GB, free: 3.559 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2357, allocations: 3.938 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2357, allocations: 4 kB / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2357, allocations: 4 kB / 1.196 GB, free: 3.547 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2357, allocations: 4 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.2358, allocations: 179.4 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.2358, allocations: 3.953 kB / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.2358, allocations: 4 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.2359, allocations: 7.984 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.2359, allocations: 11.98 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2359, allocations: 4 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.236, allocations: 95.27 kB / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.236, allocations: 0 / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000195/0.2362, allocations: 11.94 kB / 1.196 GB, free: 3.215 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 (intGreThr.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.0003317/0.2365, allocations: 0.7086 MB / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.2366, allocations: 55.94 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2366, allocations: 0 / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.352e-05/0.2367, allocations: 27.92 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.2369, allocations: 13.02 kB / 1.197 GB, free: 2.387 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2379, allocations: 1.328 MB / 1.198 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.2382, allocations: 0.6807 MB / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.2382, allocations: 0 / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.2382, allocations: 23.42 kB / 1.199 GB, free: 256 kB / 0.823 GB Notification: Performance of SimCode: time 4.41e-07/0.2382, allocations: 0 / 1.199 GB, free: 256 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.2526, allocations: 1.973 MB / 1.201 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.316/6.569, allocations: 13.88 kB / 1.201 GB, free: 14.4 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.898994789458811] Failed to read output from testmodel.py, exit status != 0: 6.642873849719763 6.652533795 6.417992495 Calling exit ...