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.0008035/0.0008035, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008269/0.0008269, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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.8529/0.8529, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.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.6832/0.6832, allocations: 155 MB / 414.2 MB, free: 472 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.001393/0.001393, allocations: 71.89 kB / 0.6187 GB, free: 13.15 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4513/0.4527, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001469/0.4541, allocations: 0.7386 MB / 0.719 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.455, allocations: 0.8907 MB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.455, allocations: 1.031 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.4551, allocations: 9.188 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.4552, allocations: 7.359 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.4553, allocations: 46.61 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.4554, allocations: 81.27 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4556, allocations: 19.28 kB / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.4557, allocations: 58.16 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.4557, allocations: 44.53 kB / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.4558, allocations: 8.688 kB / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.4558, allocations: 7.719 kB / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.4558, allocations: 22.64 kB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.4558, allocations: 32.14 kB / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.456, allocations: 99.19 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.456, allocations: 0.5156 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.684e-06/0.456, allocations: 0.875 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.456, allocations: 0 / 0.7203 GB, free: 21.79 MB / 0.6355 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.0004314/0.4564, allocations: 326.6 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4565, allocations: 10.44 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.4565, allocations: 38.62 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.4565, allocations: 8.641 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.4566, allocations: 125.7 kB / 0.7208 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.4566, allocations: 12.09 kB / 0.7208 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.4566, allocations: 7.656 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.4569, allocations: 101.3 kB / 0.7209 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4569, allocations: 0 / 0.7209 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4569, allocations: 5.188 kB / 0.7209 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4569, allocations: 1.156 kB / 0.7209 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.4571, allocations: 105.1 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.4575, allocations: 293.4 kB / 0.7213 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.4579, allocations: 120.1 kB / 0.7214 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.458, allocations: 49.34 kB / 0.7214 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.458, allocations: 6.266 kB / 0.7214 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.458, allocations: 33 kB / 0.7215 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.458, allocations: 0 / 0.7215 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004233/0.4584, allocations: 191.2 kB / 0.7216 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.4585, allocations: 56.95 kB / 0.7217 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.4585, allocations: 123.5 kB / 0.7218 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.4585, allocations: 29.64 kB / 0.7218 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.4586, allocations: 101.6 kB / 0.7219 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.4586, allocations: 20.34 kB / 0.722 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.4586, allocations: 23.34 kB / 0.722 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.36e-05/0.4587, allocations: 319.4 kB / 0.7223 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.4588, allocations: 48.56 kB / 0.7223 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.4589, allocations: 48.73 kB / 0.7224 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.4591, allocations: 96.34 kB / 0.7225 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4591, allocations: 1.125 kB / 0.7225 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000244/0.4593, allocations: 142.4 kB / 0.7226 GB, free: 20 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4593, allocations: 5.812 kB / 0.7226 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4593, allocations: 0.9375 kB / 0.7226 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4593, allocations: 0 / 0.7226 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.4594, allocations: 28.33 kB / 0.7226 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4595, allocations: 5.125 kB / 0.7226 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.4595, allocations: 12.73 kB / 0.7227 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4595, allocations: 11.34 kB / 0.7227 GB, free: 19.98 MB / 0.6355 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 5.695e-05/0.4596, allocations: 114.3 kB / 0.7228 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.4596, allocations: 7.359 kB / 0.7228 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.4599, allocations: 146.9 kB / 0.7229 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4599, allocations: 3.984 kB / 0.7229 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4599, allocations: 13.34 kB / 0.7229 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4599, allocations: 1.266 kB / 0.7229 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.46, allocations: 156.1 kB / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.46, allocations: 0 / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.4601, allocations: 24.17 kB / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4601, allocations: 4.969 kB / 0.7231 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4601, allocations: 5.906 kB / 0.7231 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4601, allocations: 1.75 kB / 0.7231 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4601, allocations: 7.938 kB / 0.7231 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.4604, allocations: 232.2 kB / 0.7234 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.4604, allocations: 11 kB / 0.7234 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4604, allocations: 2.156 kB / 0.7234 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.4605, allocations: 15.8 kB / 0.7234 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.4606, allocations: 29.73 kB / 0.7234 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.4606, allocations: 3 kB / 0.7234 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.004e-05/0.4606, allocations: 94.5 kB / 0.7235 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4606, allocations: 0 / 0.7235 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001536/0.4607, allocations: 19.66 kB / 0.7235 GB, free: 19.33 MB / 0.6355 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.0003832/0.4611, allocations: 0.7595 MB / 0.7243 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.4614, allocations: 114.3 kB / 0.7244 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4614, allocations: 0 / 0.7244 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4615, allocations: 61 kB / 0.7244 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.4618, allocations: 8.688 kB / 0.7244 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4631, allocations: 1.552 MB / 0.726 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.675e-05/0.4631, allocations: 78.77 kB / 0.726 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.242e-05/0.4632, allocations: 12.48 kB / 0.726 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.4632, allocations: 27.14 kB / 0.7261 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/0.4633, allocations: 0 / 0.7261 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.4811, allocations: 3.476 MB / 0.7295 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/7.108, allocations: 0.5938 kB / 0.7295 GB, free: 16.24 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.714202177943662] Failed to read output from testmodel.py, exit status != 0: 7.186170659959316 7.19325193 6.735488899 Calling exit ...