Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.0007808/0.0007808, 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.0007769/0.0007769, 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.9886/0.9886, allocations: 230.6 MB / 256 MB, free: 9.598 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.8471/0.8471, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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.Integers.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",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.001068/0.001068, allocations: 75.98 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6093, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.00193/0.6113, allocations: 0.7547 MB / 0.8181 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.6122, allocations: 0.8876 MB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.6123, allocations: 0 / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.698e-05/0.6123, allocations: 8.594 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.6124, allocations: 12.62 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.6126, allocations: 44.45 kB / 0.819 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.6127, allocations: 83.38 kB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.6129, allocations: 18.36 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.613, allocations: 41.36 kB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.6131, allocations: 43.62 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.6131, allocations: 8.531 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.6131, allocations: 10.28 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.6132, allocations: 20.2 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.6132, allocations: 33.31 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.6134, allocations: 86.84 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6134, allocations: 6.531 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6134, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.6134, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000541/0.6139, allocations: 314.1 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.614, allocations: 9.312 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.614, allocations: 40.08 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.614, allocations: 8.734 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.6142, allocations: 121.6 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.6142, allocations: 8.875 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.6142, allocations: 12.77 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.6145, allocations: 106.2 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6145, allocations: 0.5625 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.6145, allocations: 4 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6145, allocations: 0 / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.6147, allocations: 97.97 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.6152, allocations: 302.2 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.6157, allocations: 112 kB / 0.8205 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.6158, allocations: 57.45 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.6158, allocations: 6.281 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.6158, allocations: 37.06 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.6158, allocations: 4 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004912/0.6163, allocations: 181.8 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.6164, allocations: 55.47 kB / 0.8208 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.6165, allocations: 122.1 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.6165, allocations: 30.41 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.6166, allocations: 94.31 kB / 0.821 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.6166, allocations: 29.28 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.6166, allocations: 23.39 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6167, allocations: 317.8 kB / 0.8214 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.6169, allocations: 45.64 kB / 0.8214 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.617, allocations: 43.12 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.6172, allocations: 109.4 kB / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6172, allocations: 0 / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002608/0.6174, allocations: 130.3 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6175, allocations: 5.219 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6175, allocations: 0 / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.6175, allocations: 3.625 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.6176, allocations: 34.73 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.6176, allocations: 3.938 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.6177, allocations: 12.66 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.6177, allocations: 4.109 kB / 0.8218 GB, free: 14.13 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.754e-05/0.6177, allocations: 124.7 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.6178, allocations: 3.953 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.6181, allocations: 156.8 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6181, allocations: 0 / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6181, allocations: 3.938 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6181, allocations: 4.688 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.6182, allocations: 156 kB / 0.8222 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6182, allocations: 0 / 0.8222 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.6183, allocations: 28 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.6183, allocations: 1.094 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.6183, allocations: 6.125 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6183, allocations: 1.031 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6183, allocations: 4.594 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.6186, allocations: 236.3 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.6186, allocations: 7.328 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.6187, allocations: 1.031 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.6187, allocations: 16.88 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.6188, allocations: 27.73 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.6188, allocations: 2.25 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.6189, allocations: 96.69 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6189, allocations: 0 / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001626/0.619, allocations: 20.34 kB / 0.8226 GB, free: 13.48 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004689/0.6195, allocations: 0.7691 MB / 0.8234 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.6197, allocations: 99.98 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6197, allocations: 0 / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.6199, allocations: 63.89 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.6201, allocations: 20.84 kB / 0.8235 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.6216, allocations: 1.536 MB / 0.825 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.6216, allocations: 82.06 kB / 0.8251 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.022e-05/0.6217, allocations: 12.3 kB / 0.8251 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.6217, allocations: 31.48 kB / 0.8252 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.6217, allocations: 0 / 0.8252 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.6387, allocations: 3.345 MB / 0.8284 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/8.325, allocations: 7.875 kB / 0.8284 GB, free: 10.41 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.46766704088077] Failed to read output from testmodel.py, exit status != 0: 8.40381937706843 8.417560847 7.801827906 Calling exit ...