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.0009237/0.0009237, 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.001572/0.001572, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.095/1.095, 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/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.8089/0.8089, allocations: 203.5 MB / 0.5039 GB, free: 10.77 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.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.001343/0.001343, allocations: 71.2 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6692/0.6705, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001849/0.6724, allocations: 0.7546 MB / 0.8181 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.6733, allocations: 0.8867 MB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.6734, allocations: 1.406 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.6734, allocations: 5.672 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.136e-05/0.6735, allocations: 14.06 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.6737, allocations: 44.72 kB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.6738, allocations: 80.72 kB / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.6739, allocations: 29.8 kB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.674, allocations: 32.67 kB / 0.8192 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.6741, allocations: 49.86 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.6741, allocations: 7.281 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.6741, allocations: 15.38 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.6741, allocations: 15.61 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.6742, allocations: 30.3 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.6743, allocations: 91.03 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6743, allocations: 4 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6743, allocations: 0 / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.6743, allocations: 0 / 0.8194 GB, free: 15.9 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.0005122/0.6748, allocations: 321.5 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.6749, allocations: 10.09 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.6749, allocations: 39.78 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.6749, allocations: 9.516 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.675, allocations: 119.4 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.6751, allocations: 7.688 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.6751, allocations: 13.62 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.6753, allocations: 102.9 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6753, allocations: 0 / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.6753, allocations: 0 / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.6753, allocations: 0 / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.6755, allocations: 98.45 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.6761, allocations: 304.7 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.6765, allocations: 111.9 kB / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.6766, allocations: 50.84 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.6767, allocations: 0.5 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.6767, allocations: 42.39 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/0.6767, allocations: 7.938 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004863/0.6772, allocations: 178.1 kB / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.6772, allocations: 55.91 kB / 0.8208 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.6773, allocations: 124.4 kB / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.6774, allocations: 25.7 kB / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.6774, allocations: 99.28 kB / 0.821 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.6775, allocations: 22.48 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.6775, allocations: 24.19 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6776, allocations: 318.9 kB / 0.8214 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.6778, allocations: 43.94 kB / 0.8214 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.6779, allocations: 54.48 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.6781, allocations: 101 kB / 0.8216 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6781, allocations: 4 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002927/0.6784, allocations: 134 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.6784, allocations: 11.53 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6784, allocations: 0.7031 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6784, allocations: 0 / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.6785, allocations: 27.19 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.6785, allocations: 3.938 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.6786, allocations: 16.75 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6786, allocations: 4.156 kB / 0.8218 GB, free: 14.11 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 9.564e-05/0.6787, allocations: 117.8 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.6787, allocations: 7.625 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.6791, allocations: 149.6 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6791, allocations: 1.281 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6791, allocations: 4.844 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.6791, allocations: 0.6562 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.6793, allocations: 156.5 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6793, allocations: 0 / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.6794, allocations: 33.66 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6794, allocations: 3.984 kB / 0.8222 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.6794, allocations: 10.81 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6794, allocations: 0 / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6794, allocations: 5.188 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.6797, allocations: 231 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.6797, allocations: 6.812 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.6797, allocations: 2.25 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.6798, allocations: 20.23 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.6799, allocations: 22.47 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.6799, allocations: 6.75 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.68, allocations: 93.8 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.68, allocations: 0 / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001586/0.6801, allocations: 13.69 kB / 0.8226 GB, free: 13.47 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.0005859/0.6807, allocations: 0.7741 MB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.681, allocations: 106.1 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.681, allocations: 0 / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.6812, allocations: 61.33 kB / 0.8235 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.6815, allocations: 9.031 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.001761/0.6833, allocations: 1.541 MB / 0.825 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.999e-05/0.6834, allocations: 85.83 kB / 0.8251 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.072e-05/0.6834, allocations: 11.92 kB / 0.8251 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.6835, allocations: 31.12 kB / 0.8252 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.6835, allocations: 5.094 kB / 0.8252 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.7067, allocations: 3.337 MB / 0.8284 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.647, allocations: 10.59 kB / 0.8284 GB, free: 10.4 MB / 0.6198 GB " [Timeout remaining time 651] (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: 11.95541616389528] Failed to read output from testmodel.py, exit status != 0: 8.731551562901586 8.749399695 8.072317549 Calling exit ...