Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.0009534/0.0009534, 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.0008516/0.0008516, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.9743/0.9743, allocations: 230.6 MB / 256 MB, free: 9.797 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.03764/0.03764, allocations: 12.18 MB / 324.6 MB, free: 6.164 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.0003937/0.0003937, allocations: 27.89 kB / 384.1 MB, free: 10.57 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.753/1.753, allocations: 353.8 MB / 0.7787 GB, free: 3.129 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.Conversions.Validation.RealToInteger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.001498/0.001498, allocations: 131.6 kB / 1.06 GB, free: 25.03 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2416, allocations: 134.9 MB / 1.192 GB, free: 7.891 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002216/0.2438, allocations: 0.6091 MB / 1.192 GB, free: 7.285 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.2448, allocations: 0.8592 MB / 1.193 GB, free: 6.414 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.2448, allocations: 0 / 1.193 GB, free: 6.414 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.2448, allocations: 3.938 kB / 1.193 GB, free: 6.41 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/0.2449, allocations: 7.984 kB / 1.193 GB, free: 6.402 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.2451, allocations: 11.94 kB / 1.193 GB, free: 6.391 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.2452, allocations: 19.98 kB / 1.193 GB, free: 6.371 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2453, allocations: 15.97 kB / 1.193 GB, free: 6.355 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.2454, allocations: 15.88 kB / 1.193 GB, free: 6.34 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.2454, allocations: 11.98 kB / 1.193 GB, free: 6.328 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.2455, allocations: 4 kB / 1.193 GB, free: 6.324 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-06/0.2455, allocations: 0 / 1.193 GB, free: 6.324 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.2455, allocations: 7.938 kB / 1.193 GB, free: 6.316 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.2455, allocations: 4 kB / 1.193 GB, free: 6.312 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.923e-05/0.2456, allocations: 36.16 kB / 1.193 GB, free: 6.277 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2456, allocations: 4 kB / 1.193 GB, free: 6.273 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2456, allocations: 0 / 1.193 GB, free: 6.273 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2456, allocations: 0 / 1.193 GB, free: 6.273 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004324/0.246, allocations: 258.3 kB / 1.194 GB, free: 5.988 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2461, allocations: 12.03 kB / 1.194 GB, free: 5.977 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.2461, allocations: 30.75 kB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.2461, allocations: 4.891 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.2462, allocations: 106.5 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2462, allocations: 4.375 kB / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.2462, allocations: 384 / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2464, allocations: 62.09 kB / 1.194 GB, free: 5.734 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2464, allocations: 3.938 kB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.2464, allocations: 0 / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2464, allocations: 4 kB / 1.194 GB, free: 5.727 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.2465, allocations: 35.95 kB / 1.194 GB, free: 5.691 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.2469, allocations: 220 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.663e-05/0.2469, allocations: 50.41 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.247, allocations: 24.91 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.247, allocations: 0 / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.247, allocations: 38.55 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.247, allocations: 0 / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002191/0.2472, allocations: 85.59 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2473, allocations: 51.41 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.2473, allocations: 101.9 kB / 1.194 GB, free: 5.039 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.2473, allocations: 25.7 kB / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.2474, allocations: 84.25 kB / 1.194 GB, free: 4.922 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.2475, allocations: 4 kB / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.2475, allocations: 21.66 kB / 1.194 GB, free: 4.891 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.2476, allocations: 310.8 kB / 1.195 GB, free: 4.578 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.2476, allocations: 23.97 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.2477, allocations: 11.98 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.19e-05/0.2477, allocations: 48.88 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2477, allocations: 3.938 kB / 1.195 GB, free: 4.488 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001059/0.2479, allocations: 69.61 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2479, allocations: 4 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2479, allocations: 4 kB / 1.195 GB, free: 4.406 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2479, allocations: 0 / 1.195 GB, free: 4.406 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.248, allocations: 7.984 kB / 1.195 GB, free: 4.398 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.248, allocations: 7.969 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.248, allocations: 4 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.248, allocations: 4 kB / 1.195 GB, free: 4.383 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.763e-05/0.248, allocations: 114.9 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.2481, allocations: 4.172 kB / 1.195 GB, free: 4.258 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.2481, allocations: 11.3 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2481, allocations: 0 / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2481, allocations: 4 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2481, allocations: 4 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2482, allocations: 128.7 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2483, allocations: 0 / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.2483, allocations: 11.98 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2483, allocations: 0 / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2483, allocations: 0 / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2483, allocations: 11.86 kB / 1.195 GB, free: 4.047 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2483, allocations: 0 / 1.195 GB, free: 4.047 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.2484, allocations: 175.4 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.2484, allocations: 7.891 kB / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2485, allocations: 4 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.2485, allocations: 7.984 kB / 1.195 GB, free: 3.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.2485, allocations: 4 kB / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.2485, allocations: 0 / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.222e-05/0.2486, allocations: 87.27 kB / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2486, allocations: 4.031 kB / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001372/0.2487, allocations: 4 kB / 1.196 GB, free: 3.742 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000392/0.2491, allocations: 0.689 MB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.2492, allocations: 47.92 kB / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2492, allocations: 0 / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.2493, allocations: 27.97 kB / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2495, allocations: 0 / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.2499, allocations: 143.1 kB / 1.196 GB, free: 2.77 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.2503, allocations: 0.6808 MB / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.2504, allocations: 4 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.2504, allocations: 11.44 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/0.2504, allocations: 0 / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.2644, allocations: 1.565 MB / 1.199 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.223/6.487, allocations: 9.781 kB / 1.199 GB, free: 0.6055 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.969471606425941] Failed to read output from testmodel.py, exit status != 0: 6.561545819975436 6.573216882 6.325829391 Calling exit ...