Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.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.001328/0.001328, allocations: 72.45 kB / 19.02 MB, free: 1.129 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.001522/0.001522, allocations: 163.2 kB / 22.29 MB, free: 3.523 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.463/1.463, allocations: 177.2 MB / 202.7 MB, free: 4.82 MB / 186.7 MB " [Timeout remaining time 178] 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 1.295/1.295, allocations: 154.7 MB / 413.8 MB, free: 3.145 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",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.002277/0.002277, allocations: 74.92 kB / 0.6181 GB, free: 1.109 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2109, allocations: 102 MB / 0.7177 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.002284/0.2132, allocations: 0.7428 MB / 0.7184 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2145, allocations: 0.8821 MB / 0.7192 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.2146, allocations: 0 / 0.7192 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.2146, allocations: 11.86 kB / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.2147, allocations: 7.922 kB / 0.7193 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.2149, allocations: 43.89 kB / 0.7193 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.215, allocations: 83.89 kB / 0.7194 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2152, allocations: 32.12 kB / 0.7194 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2153, allocations: 51.78 kB / 0.7195 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.2154, allocations: 47.81 kB / 0.7195 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.2154, allocations: 8 kB / 0.7195 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.2154, allocations: 8 kB / 0.7195 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.2154, allocations: 19.92 kB / 0.7195 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.2155, allocations: 27.86 kB / 0.7196 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.2156, allocations: 91.64 kB / 0.7197 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.726e-06/0.2156, allocations: 0 / 0.7197 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2156, allocations: 3.938 kB / 0.7197 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2157, allocations: 4 kB / 0.7197 GB, free: 9.168 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.0006721/0.2163, allocations: 318 kB / 0.72 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2164, allocations: 12.03 kB / 0.72 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.2164, allocations: 38.69 kB / 0.72 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.2165, allocations: 8.891 kB / 0.72 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2166, allocations: 122.4 kB / 0.7201 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2166, allocations: 4.375 kB / 0.7201 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.2167, allocations: 11.94 kB / 0.7202 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.217, allocations: 109.1 kB / 0.7203 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.217, allocations: 0 / 0.7203 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.217, allocations: 0 / 0.7203 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.217, allocations: 4 kB / 0.7203 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.2174, allocations: 99.84 kB / 0.7204 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.218, allocations: 295.8 kB / 0.7206 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.2186, allocations: 122.5 kB / 0.7208 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.2188, allocations: 52.81 kB / 0.7208 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2188, allocations: 4 kB / 0.7208 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2189, allocations: 30.56 kB / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.2189, allocations: 0 / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007309/0.2196, allocations: 185.5 kB / 0.721 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2196, allocations: 55.34 kB / 0.7211 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2198, allocations: 121.8 kB / 0.7212 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2198, allocations: 25.7 kB / 0.7212 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.2198, allocations: 100.1 kB / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.2199, allocations: 23.73 kB / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.2199, allocations: 25.7 kB / 0.7214 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2201, allocations: 326.8 kB / 0.7217 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2203, allocations: 43.95 kB / 0.7217 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.2205, allocations: 43.95 kB / 0.7218 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.2208, allocations: 100.8 kB / 0.7219 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2208, allocations: 4 kB / 0.7219 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004458/0.2213, allocations: 137.5 kB / 0.722 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2213, allocations: 4 kB / 0.722 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2213, allocations: 3.938 kB / 0.722 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2213, allocations: 3.938 kB / 0.722 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.2215, allocations: 23.97 kB / 0.722 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2215, allocations: 8.484 kB / 0.722 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2216, allocations: 15.97 kB / 0.722 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.2216, allocations: 8 kB / 0.7221 GB, free: 6.535 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,min1.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 0.0001055/0.2217, allocations: 113.8 kB / 0.7222 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.2218, allocations: 3.953 kB / 0.7222 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.2223, allocations: 161.9 kB / 0.7223 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2223, allocations: 0 / 0.7223 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2223, allocations: 3.938 kB / 0.7223 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2223, allocations: 0 / 0.7223 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2225, allocations: 160.7 kB / 0.7225 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2225, allocations: 0 / 0.7225 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.2227, allocations: 23.97 kB / 0.7225 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2227, allocations: 0 / 0.7225 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.2227, allocations: 8 kB / 0.7225 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.2227, allocations: 0 / 0.7225 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.2227, allocations: 11.92 kB / 0.7225 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/0.2232, allocations: 227.4 kB / 0.7227 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.2232, allocations: 11.94 kB / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2233, allocations: 0 / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2234, allocations: 19.92 kB / 0.7228 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.2235, allocations: 23.91 kB / 0.7228 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.2235, allocations: 4 kB / 0.7228 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.606e-05/0.2236, allocations: 101.7 kB / 0.7229 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2236, allocations: 0 / 0.7229 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002379/0.2238, allocations: 16 kB / 0.7229 GB, free: 5.59 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 (min1.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.0008886/0.2247, allocations: 0.7631 MB / 0.7236 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.2252, allocations: 107.8 kB / 0.7238 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2252, allocations: 0 / 0.7238 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.2254, allocations: 63.94 kB / 0.7238 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2257, allocations: 7.938 kB / 0.7238 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.2282, allocations: 1.544 MB / 0.7253 GB, free: 3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.229e-05/0.2283, allocations: 83.08 kB / 0.7254 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.469e-05/0.2284, allocations: 7.938 kB / 0.7254 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.2284, allocations: 28.48 kB / 0.7254 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.2284, allocations: 4 kB / 0.7254 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.2689, allocations: 3.471 MB / 0.7288 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.63, allocations: 9.328 kB / 0.7288 GB, free: 15.5 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Min.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.759154024010058] Failed to read output from testmodel.py, exit status != 0: 11.738954314001603 11.762929876 11.54194031 Calling exit ...