Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001163/0.001163, 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.001431/0.001431, allocations: 223.2 kB / 22.26 MB, free: 3.707 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 0.9484/0.9484, allocations: 230.6 MB / 256 MB, free: 9.816 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.8204/0.8204, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_dev_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.00133/0.00133, allocations: 70.69 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5062/0.5076, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001738/0.5093, allocations: 0.7833 MB / 0.8186 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.5101, allocations: 0.8984 MB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.5101, allocations: 0 / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.5102, allocations: 9.281 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.5103, allocations: 10.64 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.5104, allocations: 45 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.5105, allocations: 86.59 kB / 0.8197 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.5107, allocations: 22.17 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.5108, allocations: 43.91 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.5108, allocations: 47.11 kB / 0.8198 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.5109, allocations: 8.75 kB / 0.8198 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.5109, allocations: 9.188 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.5109, allocations: 24.09 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.511, allocations: 34.62 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.5111, allocations: 94.73 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5111, allocations: 0 / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5111, allocations: 0 / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5111, allocations: 0 / 0.8199 GB, free: 15.89 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.0008608/0.512, allocations: 312 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.512, allocations: 13.41 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.512, allocations: 40.03 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.5121, allocations: 8.641 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.5122, allocations: 122 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.5122, allocations: 7.938 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.5122, allocations: 7.594 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.5125, allocations: 104 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5125, allocations: 0 / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.5125, allocations: 5.375 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.5125, allocations: 2.109 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.5127, allocations: 101.4 kB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.5132, allocations: 313.4 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.5136, allocations: 120.4 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.5137, allocations: 54.25 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.5137, allocations: 1.188 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.5138, allocations: 31.12 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.5138, allocations: 2 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004219/0.5142, allocations: 190.8 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5142, allocations: 51.97 kB / 0.8213 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.5143, allocations: 127 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.5143, allocations: 29.7 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.5144, allocations: 97.64 kB / 0.8216 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.5144, allocations: 24.45 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.5144, allocations: 28.34 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.5145, allocations: 312.8 kB / 0.8219 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.5146, allocations: 48.8 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.5147, allocations: 44.2 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.5149, allocations: 98.34 kB / 0.8221 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5149, allocations: 0 / 0.8221 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002646/0.5152, allocations: 141.7 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5152, allocations: 9.281 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5152, allocations: 4.547 kB / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5152, allocations: 4 kB / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.5153, allocations: 23.3 kB / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.5153, allocations: 5.312 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.5154, allocations: 16.48 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.5154, allocations: 4.312 kB / 0.8223 GB, free: 14.09 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 6.613e-05/0.5155, allocations: 113.2 kB / 0.8224 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.5155, allocations: 7.906 kB / 0.8224 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.5158, allocations: 153.9 kB / 0.8226 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5158, allocations: 4.891 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5158, allocations: 3.938 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5158, allocations: 0 / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.5159, allocations: 169.8 kB / 0.8228 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5159, allocations: 1.875 kB / 0.8228 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.516, allocations: 28.19 kB / 0.8228 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.516, allocations: 2.781 kB / 0.8228 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.516, allocations: 4.844 kB / 0.8228 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.516, allocations: 0 / 0.8228 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.516, allocations: 4.016 kB / 0.8228 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.5163, allocations: 242 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.5163, allocations: 5.891 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.5163, allocations: 5.078 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.5164, allocations: 18.12 kB / 0.823 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.5164, allocations: 24.72 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.5164, allocations: 1.5 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.5165, allocations: 98.55 kB / 0.8232 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5165, allocations: 0 / 0.8232 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001507/0.5166, allocations: 24.34 kB / 0.8232 GB, free: 13.43 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.0004748/0.5171, allocations: 0.7617 MB / 0.8239 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.5174, allocations: 105.2 kB / 0.824 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-06/0.5174, allocations: 0 / 0.824 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.5175, allocations: 61.02 kB / 0.8241 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.5177, allocations: 9.391 kB / 0.8241 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5192, allocations: 1.538 MB / 0.8256 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.5194, allocations: 0.694 MB / 0.8263 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.244e-05/0.5195, allocations: 17.08 kB / 0.8263 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.5195, allocations: 29.83 kB / 0.8263 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.5195, allocations: 1.312 kB / 0.8263 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.5378, allocations: 2.844 MB / 0.8291 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/7.277, allocations: 8.734 kB / 0.8291 GB, free: 10.2 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.217279297066852] Failed to read output from testmodel.py, exit status != 0: 7.352109918138012 7.363288113 6.850199061 Calling exit ...