Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00115/0.00115, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.00118/0.00118, allocations: 213.2 kB / 22.24 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 1.01/1.01, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8273/0.8273, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009751/0.0009751, allocations: 66.91 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.5524, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001492/0.5539, allocations: 0.6087 MB / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.5548, allocations: 0.8426 MB / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.5548, allocations: 0 / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.5549, allocations: 3.938 kB / 0.8188 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.5549, allocations: 12.55 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.5551, allocations: 19.98 kB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.5552, allocations: 25.19 kB / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.5554, allocations: 3.094 kB / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.5554, allocations: 10.14 kB / 0.8188 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.5555, allocations: 16 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.5555, allocations: 2.312 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.5555, allocations: 3.406 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.5556, allocations: 5.297 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.5556, allocations: 12.19 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.658e-05/0.5557, allocations: 31.17 kB / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5557, allocations: 0 / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5557, allocations: 0 / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.5557, allocations: 0 / 0.8189 GB, free: 156 kB / 0.6042 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.000441/0.5561, allocations: 259.2 kB / 0.8192 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5562, allocations: 8.781 kB / 0.8192 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.5562, allocations: 34.33 kB / 0.8192 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.5562, allocations: 0.9375 kB / 0.8192 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.5563, allocations: 127.4 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.5564, allocations: 384 / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.5564, allocations: 4.375 kB / 0.8193 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5565, allocations: 52.61 kB / 0.8194 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5565, allocations: 3.938 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5566, allocations: 0.5625 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5566, allocations: 0.9375 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.5567, allocations: 37.05 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.557, allocations: 218.9 kB / 0.8196 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5571, allocations: 55.64 kB / 0.8197 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.5572, allocations: 20.33 kB / 0.8197 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.5572, allocations: 0 / 0.8197 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.5572, allocations: 39.34 kB / 0.8197 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.5572, allocations: 0 / 0.8197 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002472/0.5575, allocations: 85.78 kB / 0.8198 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.5575, allocations: 52.42 kB / 0.8199 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.157e-05/0.5576, allocations: 103.3 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.5576, allocations: 25.7 kB / 0.82 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.5576, allocations: 87.22 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.5576, allocations: 4.516 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.5577, allocations: 13.92 kB / 0.8201 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.5578, allocations: 316.6 kB / 0.8204 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.124e-05/0.5578, allocations: 14.78 kB / 0.8204 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.5578, allocations: 18.84 kB / 0.8204 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.5579, allocations: 45.2 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5579, allocations: 7.938 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001254/0.5581, allocations: 72.3 kB / 0.8205 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5581, allocations: 7.297 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5581, allocations: 3.938 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5581, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.5582, allocations: 13.47 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5582, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.5582, allocations: 11.69 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.5582, allocations: 0.6562 kB / 0.8206 GB, free: 14.58 MB / 0.6198 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 0.0001248/0.5583, allocations: 113.1 kB / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.5584, allocations: 2.281 kB / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.5584, allocations: 12.02 kB / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5584, allocations: 0 / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5584, allocations: 3.719 kB / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5584, allocations: 4.797 kB / 0.8207 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.5585, allocations: 126 kB / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5585, allocations: 0.75 kB / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.5585, allocations: 11.45 kB / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.5585, allocations: 0 / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.5585, allocations: 0.5625 kB / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.5585, allocations: 0 / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5585, allocations: 1.125 kB / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.5587, allocations: 174.3 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.5587, allocations: 5.859 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.5587, allocations: 0.5 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.5587, allocations: 10.83 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.5588, allocations: 8.672 kB / 0.821 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.5588, allocations: 3.656 kB / 0.821 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.466e-05/0.5588, allocations: 78.05 kB / 0.8211 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5588, allocations: 0 / 0.8211 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001354/0.5589, allocations: 3.281 kB / 0.8211 GB, free: 14.06 MB / 0.6198 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.0003084/0.5592, allocations: 0.7059 MB / 0.8218 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.5594, allocations: 40.75 kB / 0.8218 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.5594, allocations: 1.938 kB / 0.8218 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.5594, allocations: 19.27 kB / 0.8219 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.5596, allocations: 5.281 kB / 0.8219 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.56, allocations: 139.8 kB / 0.822 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.244e-05/0.5601, allocations: 63.86 kB / 0.8221 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.5601, allocations: 4.297 kB / 0.8221 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.5601, allocations: 16.59 kB / 0.8221 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.5601, allocations: 0.6875 kB / 0.8221 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.5754, allocations: 2.004 MB / 0.824 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.763, allocations: 8.297 kB / 0.824 GB, free: 12.26 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.847687160596251] Failed to read output from testmodel.py, exit status != 0: 7.839977968949825 7.853785636 7.294963856 Calling exit ...