Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007505/0.0007505, 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.0008878/0.0008878, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8407/0.8407, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IDEAS_dev_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.001107/0.001107, allocations: 63.06 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5344, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001453/0.5358, allocations: 0.7707 MB / 0.8186 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007267/0.5366, allocations: 0.901 MB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.5366, allocations: 0 / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.5366, allocations: 9.188 kB / 0.8195 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.5367, allocations: 10.61 kB / 0.8195 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.5369, allocations: 41.19 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.537, allocations: 90.16 kB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.5371, allocations: 23.06 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.5372, allocations: 36.97 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.5373, allocations: 53.47 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.5373, allocations: 11.75 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.5373, allocations: 6.75 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.5373, allocations: 19.02 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.5374, allocations: 34.53 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.5375, allocations: 91.73 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5375, allocations: 3.938 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5375, allocations: 7.875 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.5375, allocations: 0.7031 kB / 0.8199 GB, free: 15.86 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.0004481/0.538, allocations: 321.4 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.538, allocations: 9.75 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.538, allocations: 32.06 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.5381, allocations: 9.609 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5382, allocations: 125.6 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5382, allocations: 3.688 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.5382, allocations: 11.91 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.5384, allocations: 105 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.5384, allocations: 3.938 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5384, allocations: 5.922 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5384, allocations: 1.531 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.5386, allocations: 97.77 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.539, allocations: 305.2 kB / 0.8209 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.5394, allocations: 126.5 kB / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.5395, allocations: 51.78 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.5395, allocations: 1.203 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.5396, allocations: 39.05 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.5396, allocations: 0 / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004089/0.54, allocations: 180.8 kB / 0.8213 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.54, allocations: 52.2 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.5401, allocations: 129.1 kB / 0.8215 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.5401, allocations: 29.7 kB / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.5401, allocations: 93.17 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.5402, allocations: 22.98 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.5402, allocations: 28.69 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.5403, allocations: 319.3 kB / 0.8219 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.5404, allocations: 44.92 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.5405, allocations: 51.36 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.5407, allocations: 98.89 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5407, allocations: 0 / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002277/0.5409, allocations: 140.2 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5409, allocations: 7.953 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5409, allocations: 2 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5409, allocations: 0 / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.541, allocations: 24.55 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.541, allocations: 3.938 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.5411, allocations: 13.67 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.5411, allocations: 5.812 kB / 0.8223 GB, free: 14.07 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 7.19e-05/0.5411, allocations: 117.6 kB / 0.8224 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.5412, allocations: 10.86 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.5414, allocations: 147.6 kB / 0.8226 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.5414, allocations: 6.016 kB / 0.8226 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5414, allocations: 3.938 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5415, allocations: 4.656 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.5416, allocations: 174.1 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5416, allocations: 0.8438 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.5417, allocations: 27.09 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5417, allocations: 1.5 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.5417, allocations: 1.453 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5417, allocations: 1.281 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5417, allocations: 4.688 kB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.542, allocations: 239.3 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.542, allocations: 11.66 kB / 0.823 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.542, allocations: 1.375 kB / 0.823 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.542, allocations: 12.09 kB / 0.823 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.5421, allocations: 25.47 kB / 0.8231 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.5421, allocations: 7.812 kB / 0.8231 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.5422, allocations: 97.92 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5422, allocations: 0 / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001575/0.5423, allocations: 20.38 kB / 0.8232 GB, free: 13.4 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.000443/0.5428, allocations: 0.7692 MB / 0.8239 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.543, allocations: 100.6 kB / 0.824 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.543, allocations: 0 / 0.824 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.5431, allocations: 66.5 kB / 0.8241 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.5433, allocations: 13.17 kB / 0.8241 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.5447, allocations: 1.534 MB / 0.8256 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.5449, allocations: 0.6898 MB / 0.8263 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.267e-05/0.545, allocations: 15.75 kB / 0.8263 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.545, allocations: 31.3 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.545, allocations: 0 / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.5627, allocations: 2.847 MB / 0.8291 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/7.265, allocations: 12.22 kB / 0.8291 GB, free: 10.17 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.41310326103121] Failed to read output from testmodel.py, exit status != 0: 7.343374070012942 7.355271383 6.81487355 Calling exit ...