Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0008739/0.0008739, 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.0008509/0.0008509, 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.9945/0.9945, allocations: 230.6 MB / 256 MB, free: 9.602 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.03663/0.03663, allocations: 12.18 MB / 324.6 MB, free: 6.098 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.0005422/0.0005422, allocations: 31.94 kB / 384.1 MB, free: 10.52 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.672/1.672, allocations: 353.9 MB / 0.7787 GB, free: 4.582 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.LessThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.001431/0.001431, allocations: 123.6 kB / 1.06 GB, free: 24.86 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2116, allocations: 134.9 MB / 1.192 GB, free: 7.566 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001568/0.2132, allocations: 0.6878 MB / 1.192 GB, free: 6.883 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.2139, allocations: 0.8549 MB / 1.193 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.2139, allocations: 4 kB / 1.193 GB, free: 6.012 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.214, allocations: 7.875 kB / 1.193 GB, free: 6.004 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.921e-05/0.214, allocations: 7.922 kB / 1.193 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.2142, allocations: 23.91 kB / 1.193 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.2142, allocations: 47.92 kB / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2143, allocations: 11.98 kB / 1.193 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.2144, allocations: 23.91 kB / 1.193 GB, free: 5.891 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.2145, allocations: 23.92 kB / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2145, allocations: 4 kB / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.2145, allocations: 4 kB / 1.193 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.2145, allocations: 11.92 kB / 1.193 GB, free: 5.848 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.2145, allocations: 15.94 kB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.055e-05/0.2146, allocations: 52.06 kB / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2146, allocations: 0 / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2146, allocations: 0 / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2146, allocations: 4 kB / 1.193 GB, free: 5.777 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.0003699/0.215, allocations: 278.3 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.215, allocations: 8.031 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.2151, allocations: 38.69 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2151, allocations: 8.891 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.2152, allocations: 118.5 kB / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2152, allocations: 384 / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.2152, allocations: 12.12 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.2153, allocations: 61.66 kB / 1.194 GB, free: 5.195 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2153, allocations: 8 kB / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.2154, allocations: 0 / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2154, allocations: 0 / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2155, allocations: 63.75 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.2158, allocations: 251.9 kB / 1.194 GB, free: 4.836 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.2159, allocations: 58.55 kB / 1.194 GB, free: 4.77 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.216, allocations: 32.91 kB / 1.194 GB, free: 4.734 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.216, allocations: 4 kB / 1.194 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.216, allocations: 34.5 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.216, allocations: 0 / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002459/0.2162, allocations: 105.6 kB / 1.194 GB, free: 4.578 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.2163, allocations: 51.41 kB / 1.194 GB, free: 4.516 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.2163, allocations: 109.8 kB / 1.195 GB, free: 4.398 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2163, allocations: 25.7 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.2164, allocations: 92.08 kB / 1.195 GB, free: 4.273 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2164, allocations: 11.95 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.2164, allocations: 17.72 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.2165, allocations: 322.8 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.2165, allocations: 19.98 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.2166, allocations: 27.97 kB / 1.195 GB, free: 3.867 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.509e-05/0.2167, allocations: 52.75 kB / 1.195 GB, free: 3.812 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2167, allocations: 0 / 1.195 GB, free: 3.812 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.2168, allocations: 93.59 kB / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2168, allocations: 6.031 kB / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2168, allocations: 0 / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2169, allocations: 336 / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.2169, allocations: 11.98 kB / 1.195 GB, free: 3.699 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2169, allocations: 0 / 1.195 GB, free: 3.699 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.217, allocations: 19.92 kB / 1.195 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.217, allocations: 3.938 kB / 1.195 GB, free: 3.676 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,intLesThr.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 5.65e-05/0.217, allocations: 125.8 kB / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.217, allocations: 0 / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.2171, allocations: 8 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2171, allocations: 0 / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2171, allocations: 0 / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.2171, allocations: 0 / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2172, allocations: 152.6 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2172, allocations: 0 / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.2172, allocations: 11.98 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2172, allocations: 0 / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.2172, allocations: 4 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.2172, allocations: 0 / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2172, allocations: 0 / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.2174, allocations: 187.4 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.2174, allocations: 3.953 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.2174, allocations: 3.938 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.2174, allocations: 7.984 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.2175, allocations: 15.92 kB / 1.196 GB, free: 3.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.2175, allocations: 7.984 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.2175, allocations: 91.3 kB / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2175, allocations: 0 / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001408/0.2177, allocations: 8 kB / 1.196 GB, free: 2.984 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 (intLesThr.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.0003272/0.218, allocations: 0.7008 MB / 1.197 GB, free: 2.258 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.2181, allocations: 63.88 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2181, allocations: 0 / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.2182, allocations: 31.97 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.2184, allocations: 11.98 kB / 1.197 GB, free: 2.152 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2195, allocations: 1.324 MB / 1.198 GB, free: 0.75 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.2195, allocations: 67.34 kB / 1.198 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.2196, allocations: 8.188 kB / 1.198 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.2196, allocations: 19.42 kB / 1.198 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of SimCode: time 3.81e-07/0.2196, allocations: 0 / 1.198 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.2343, allocations: 2.43 MB / 1.2 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.509/6.744, allocations: 6.172 kB / 1.2 GB, free: 14.34 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.107760342769325] Failed to read output from testmodel.py, exit status != 0: 6.822518891654909 6.833153246 6.616040169 Calling exit ...