Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Less.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.000802/0.000802, 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.0007838/0.0007838, 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.9923/0.9923, allocations: 230.6 MB / 256 MB, free: 9.605 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.03702/0.03702, allocations: 12.2 MB / 324.6 MB, free: 6.09 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.0004221/0.0004221, allocations: 23.95 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.629/1.629, allocations: 353.8 MB / 0.7787 GB, free: 4.555 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.Less,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Less",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.001469/0.001469, allocations: 126.9 kB / 1.06 GB, free: 24.77 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2265, allocations: 134.9 MB / 1.192 GB, free: 7.457 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Less): time 0.00277/0.2293, allocations: 1.963 MB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.2309, allocations: 1.294 MB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.231, allocations: 0 / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.2314, allocations: 163.4 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.2318, allocations: 211.2 kB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.232, allocations: 167.6 kB / 1.195 GB, free: 3.656 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.2324, allocations: 335 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2325, allocations: 33.2 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.2327, allocations: 151.4 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.2328, allocations: 163.3 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.2328, allocations: 16 kB / 1.196 GB, free: 2.969 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.233, allocations: 55.98 kB / 1.196 GB, free: 2.914 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.233, allocations: 103.6 kB / 1.196 GB, free: 2.812 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.2331, allocations: 95.33 kB / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.2335, allocations: 390.3 kB / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2335, allocations: 0 / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2335, allocations: 0 / 1.197 GB, free: 2.336 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.2335, allocations: 0 / 1.197 GB, free: 2.336 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007422/0.2342, allocations: 0.5741 MB / 1.197 GB, free: 1.73 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2343, allocations: 8.031 kB / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.2343, allocations: 42.69 kB / 1.197 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.2344, allocations: 40.64 kB / 1.197 GB, free: 1.633 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.2347, allocations: 324.3 kB / 1.198 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2347, allocations: 12 kB / 1.198 GB, free: 1.277 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2347, allocations: 4 kB / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.2349, allocations: 119.4 kB / 1.198 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2349, allocations: 0 / 1.198 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2349, allocations: 0 / 1.198 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2349, allocations: 4 kB / 1.198 GB, free: 1.148 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.2351, allocations: 67.89 kB / 1.198 GB, free: 1.082 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.2356, allocations: 455.6 kB / 1.198 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.2358, allocations: 138.7 kB / 1.198 GB, free: 460 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.2359, allocations: 44.83 kB / 1.198 GB, free: 412 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2359, allocations: 8 kB / 1.198 GB, free: 404 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.2361, allocations: 111.3 kB / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.2361, allocations: 4 kB / 1.199 GB, free: 276 kB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0005362/0.2366, allocations: 235.5 kB / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2367, allocations: 51.41 kB / 1.199 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.2371, allocations: 0.5328 MB / 1.199 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2371, allocations: 33.7 kB / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2372, allocations: 172.4 kB / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.2372, allocations: 39.72 kB / 1.2 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.2373, allocations: 73.95 kB / 1.2 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2374, allocations: 342.8 kB / 1.2 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2376, allocations: 104.5 kB / 1.2 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2377, allocations: 135.6 kB / 1.2 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.2379, allocations: 198.4 kB / 1.2 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2379, allocations: 0 / 1.2 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003653/0.2383, allocations: 341.2 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2383, allocations: 7.938 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2383, allocations: 4 kB / 1.201 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2383, allocations: 4 kB / 1.201 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.2385, allocations: 51.91 kB / 1.201 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2385, allocations: 0 / 1.201 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.2386, allocations: 15.95 kB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.2386, allocations: 20.05 kB / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001347/0.2387, allocations: 181.7 kB / 1.201 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.2387, allocations: 39.7 kB / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.239, allocations: 206.6 kB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.239, allocations: 4 kB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.239, allocations: 3.938 kB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.239, allocations: 3.984 kB / 1.201 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.2393, allocations: 260.6 kB / 1.201 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2393, allocations: 4 kB / 1.201 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.2393, allocations: 12 kB / 1.201 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2393, allocations: 3.938 kB / 1.201 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2393, allocations: 7.984 kB / 1.202 GB, free: 13.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.2393, allocations: 0 / 1.202 GB, free: 13.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2393, allocations: 0 / 1.202 GB, free: 13.1 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.2396, allocations: 232.7 kB / 1.202 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.2396, allocations: 39.7 kB / 1.202 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.2396, allocations: 7.984 kB / 1.202 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.2397, allocations: 4 kB / 1.202 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.2397, allocations: 27.97 kB / 1.202 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2398, allocations: 7.984 kB / 1.202 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0002325/0.24, allocations: 327.1 kB / 1.202 GB, free: 12.45 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.24, allocations: 0 / 1.202 GB, free: 12.45 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002221/0.2402, allocations: 59.94 kB / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001278/0.2415, allocations: 1.116 MB / 1.203 GB, free: 11.43 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.2418, allocations: 195.8 kB / 1.203 GB, free: 11.24 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2418, allocations: 0 / 1.203 GB, free: 11.24 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.2419, allocations: 69.44 kB / 1.204 GB, free: 11.17 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2422, allocations: 91.69 kB / 1.204 GB, free: 11.09 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.245, allocations: 3.221 MB / 1.207 GB, free: 7.781 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2451, allocations: 188 kB / 1.207 GB, free: 7.582 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.000127/0.2453, allocations: 62.94 kB / 1.207 GB, free: 7.52 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.2454, allocations: 115.4 kB / 1.207 GB, free: 7.41 MB / 0.8387 GB Notification: Performance of SimCode: time 9.22e-07/0.2454, allocations: 3.938 kB / 1.207 GB, free: 7.406 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2674, allocations: 8.349 MB / 1.215 GB, free: 15.16 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.524/6.792, allocations: 5.078 kB / 1.215 GB, free: 15.16 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Less.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.12052000593394] Failed to read output from testmodel.py, exit status != 0: 6.891565386205912 6.901810749 6.665575885 Calling exit ...