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.001057/0.001057, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001141/0.001141, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.868/0.868, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7165/0.7165, allocations: 154.6 MB / 413.7 MB, free: 0.8398 MB / 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: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/2.089e-05, allocations: 5.375 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.00191/0.00193, allocations: 0.7563 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.00311, allocations: 0.8899 MB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.003163, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.003198, allocations: 3.938 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.003287, allocations: 15.86 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.003483, allocations: 43.84 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003609, allocations: 83.81 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.003753, allocations: 19.98 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.003854, allocations: 55.88 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.003917, allocations: 39.88 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.003943, allocations: 8 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.003955, allocations: 8 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.003977, allocations: 19.92 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.004009, allocations: 27.91 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.004125, allocations: 87.72 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004127, allocations: 4 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004128, allocations: 0 / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.004131, allocations: 0 / 0.6201 GB, free: 11.64 MB / 0.5886 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.0004348/0.004566, allocations: 318 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.004605, allocations: 13.47 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.004644, allocations: 38.73 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.00467, allocations: 8.891 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.00477, allocations: 121.7 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.004786, allocations: 4.375 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.004798, allocations: 8.375 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.005006, allocations: 113.3 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.005014, allocations: 0 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.005026, allocations: 0 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005031, allocations: 4 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.005232, allocations: 107.8 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.005611, allocations: 287.8 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.005964, allocations: 114.5 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.006062, allocations: 48.81 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.006082, allocations: 4 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.006099, allocations: 38.55 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.0061, allocations: 4 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003868/0.006487, allocations: 185.4 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.006516, allocations: 55.34 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.006596, allocations: 128.5 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.006611, allocations: 25.7 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.006654, allocations: 92.08 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.006677, allocations: 27.84 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.006714, allocations: 29.64 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.006795, allocations: 318.8 kB / 0.6221 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.006891, allocations: 43.95 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.03e-05/0.006981, allocations: 43.95 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.007171, allocations: 104.8 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.007174, allocations: 0 / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002267/0.0074, allocations: 137.5 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.007415, allocations: 11.98 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.00742, allocations: 0.5469 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007431, allocations: 0 / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.007514, allocations: 27.97 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.007519, allocations: 0 / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.007579, allocations: 15.92 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.00759, allocations: 7.938 kB / 0.6224 GB, free: 9.02 MB / 0.5886 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.009e-05/0.00766, allocations: 118.8 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.007678, allocations: 7.938 kB / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.007951, allocations: 161.9 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.007952, allocations: 0 / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.007957, allocations: 0 / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007959, allocations: 0 / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.008093, allocations: 164.7 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.008095, allocations: 3.984 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.008162, allocations: 23.97 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.008164, allocations: 3.938 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.008173, allocations: 8 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.008174, allocations: 0 / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.008175, allocations: 0 / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.008422, allocations: 235.3 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.008433, allocations: 7.953 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.008445, allocations: 0 / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.008514, allocations: 15.92 kB / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.008571, allocations: 23.97 kB / 0.6232 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.008578, allocations: 7.984 kB / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.008616, allocations: 95.27 kB / 0.6233 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008616, allocations: 0 / 0.6233 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001665/0.008783, allocations: 15.94 kB / 0.6233 GB, free: 8.066 MB / 0.5886 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.0004391/0.009222, allocations: 0.7671 MB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.009473, allocations: 103.8 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.009476, allocations: 0 / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.009585, allocations: 59.95 kB / 0.6242 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.009798, allocations: 14.12 kB / 0.6242 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.0111, allocations: 1.541 MB / 0.6257 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.727e-05/0.01114, allocations: 79.33 kB / 0.6258 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.342e-05/0.01119, allocations: 11.98 kB / 0.6258 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.01125, allocations: 32.48 kB / 0.6258 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.01125, allocations: 0 / 0.6258 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.02906, allocations: 3.484 MB / 0.6292 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.032, allocations: 0.7031 kB / 0.6292 GB, free: 2.023 MB / 0.5886 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.651156792417169] Failed to read output from testmodel.py, exit status != 0: 7.112140208482742 7.120302097 7.114253535 Calling exit ...