Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.001256/0.001256, allocations: 72.45 kB / 19.02 MB, free: 1.109 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.001464/0.001464, allocations: 160 kB / 22.29 MB, free: 3.516 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.386/1.386, allocations: 177.2 MB / 202.7 MB, free: 4.824 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.189/1.189, allocations: 154.7 MB / 413.8 MB, free: 3.16 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.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",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.002226/0.002226, allocations: 68.38 kB / 0.6181 GB, free: 1.098 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.2431/0.2453, allocations: 102 MB / 0.7177 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002076/0.2474, allocations: 0.7541 MB / 0.7184 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2487, allocations: 0.8744 MB / 0.7192 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.2487, allocations: 7.938 kB / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.033e-05/0.2488, allocations: 7.922 kB / 0.7193 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.597e-05/0.2489, allocations: 15.86 kB / 0.7193 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.2491, allocations: 35.95 kB / 0.7193 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.2492, allocations: 91.75 kB / 0.7194 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2493, allocations: 28.2 kB / 0.7194 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2495, allocations: 51.84 kB / 0.7195 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.2496, allocations: 43.81 kB / 0.7195 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.2496, allocations: 8 kB / 0.7195 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.934e-05/0.2496, allocations: 8 kB / 0.7195 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.2496, allocations: 19.92 kB / 0.7195 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.2497, allocations: 31.84 kB / 0.7196 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2498, allocations: 95.59 kB / 0.7197 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2499, allocations: 0 / 0.7197 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2499, allocations: 0 / 0.7197 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2499, allocations: 0 / 0.7197 GB, free: 9.16 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.001002/0.2509, allocations: 318 kB / 0.72 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2509, allocations: 8.031 kB / 0.72 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.251, allocations: 38.75 kB / 0.72 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.251, allocations: 8.891 kB / 0.72 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.2512, allocations: 118.4 kB / 0.7201 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.2512, allocations: 12.38 kB / 0.7202 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.2512, allocations: 7.938 kB / 0.7202 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.2516, allocations: 109.5 kB / 0.7203 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2516, allocations: 0 / 0.7203 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2516, allocations: 4 kB / 0.7203 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2516, allocations: 0 / 0.7203 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.252, allocations: 99.89 kB / 0.7204 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.2526, allocations: 295.8 kB / 0.7206 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.2533, allocations: 114.6 kB / 0.7208 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.2535, allocations: 52.81 kB / 0.7208 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2535, allocations: 0 / 0.7208 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2536, allocations: 38.56 kB / 0.7208 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.2536, allocations: 0 / 0.7208 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007444/0.2543, allocations: 185.4 kB / 0.721 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.2544, allocations: 55.34 kB / 0.7211 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2545, allocations: 117.8 kB / 0.7212 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2545, allocations: 29.64 kB / 0.7212 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.2546, allocations: 104.1 kB / 0.7213 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.2546, allocations: 23.8 kB / 0.7213 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.2547, allocations: 21.7 kB / 0.7214 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2549, allocations: 322.8 kB / 0.7217 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.2551, allocations: 47.95 kB / 0.7217 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.2552, allocations: 47.94 kB / 0.7218 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.2556, allocations: 96.72 kB / 0.7218 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2556, allocations: 0 / 0.7218 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004454/0.2561, allocations: 137.5 kB / 0.722 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2561, allocations: 4 kB / 0.722 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2561, allocations: 4 kB / 0.722 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2561, allocations: 4 kB / 0.722 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.2563, allocations: 23.97 kB / 0.722 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.2563, allocations: 8.422 kB / 0.722 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.2564, allocations: 23.97 kB / 0.722 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2564, allocations: 0 / 0.722 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,max1.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.0001101/0.2566, allocations: 113.8 kB / 0.7222 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.2566, allocations: 11.89 kB / 0.7222 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.2571, allocations: 154 kB / 0.7223 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2571, allocations: 4 kB / 0.7223 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.2571, allocations: 3.938 kB / 0.7223 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2571, allocations: 0 / 0.7223 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.2574, allocations: 160.7 kB / 0.7225 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2574, allocations: 0 / 0.7225 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.2575, allocations: 27.97 kB / 0.7225 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2575, allocations: 4 kB / 0.7225 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2575, allocations: 0 / 0.7225 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.2575, allocations: 3.984 kB / 0.7225 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.2576, allocations: 3.938 kB / 0.7225 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.2581, allocations: 235.3 kB / 0.7227 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.2581, allocations: 3.953 kB / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.2581, allocations: 8 kB / 0.7227 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.2583, allocations: 11.98 kB / 0.7228 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.2584, allocations: 31.89 kB / 0.7228 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2584, allocations: 0 / 0.7228 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.668e-05/0.2584, allocations: 95.27 kB / 0.7229 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2584, allocations: 0 / 0.7229 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002438/0.2587, 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 (max1.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.0009625/0.2597, allocations: 0.7748 MB / 0.7236 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004525/0.2601, allocations: 99.84 kB / 0.7237 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2601, allocations: 0 / 0.7237 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.2603, allocations: 63.88 kB / 0.7238 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2607, allocations: 17.81 kB / 0.7238 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.2631, allocations: 1.537 MB / 0.7253 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.179e-05/0.2632, allocations: 83.02 kB / 0.7254 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.71e-05/0.2633, allocations: 12 kB / 0.7254 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/0.2634, allocations: 32.48 kB / 0.7254 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.2634, allocations: 0 / 0.7254 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.2988, allocations: 3.475 MB / 0.7288 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.71, allocations: 5.672 kB / 0.7288 GB, free: 15.5 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Max.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.720537280009012] Failed to read output from testmodel.py, exit status != 0: 11.817480936995707 11.834753409 11.581349569 Calling exit ...