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.0007415/0.0007415, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.000818/0.000818, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.928/0.928, allocations: 230.6 MB / 256 MB, free: 9.621 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.7696/0.7696, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.000896/0.000896, allocations: 66.41 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5223, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.0015/0.5238, allocations: 0.7451 MB / 0.8185 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.5246, allocations: 0.8864 MB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.5246, allocations: 0 / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.5247, allocations: 8.859 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.5247, allocations: 10.58 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.5249, allocations: 43.17 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.525, allocations: 89.47 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.5251, allocations: 25.2 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.5252, allocations: 39.59 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.5253, allocations: 39.09 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.5253, allocations: 12.5 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.5253, allocations: 6.781 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.5254, allocations: 24.25 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.5254, allocations: 27.48 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.5255, allocations: 93.08 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5255, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5255, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.5255, allocations: 4 kB / 0.8198 GB, free: 15.71 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.0004896/0.526, allocations: 320.7 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5261, allocations: 7.734 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.5261, allocations: 37.19 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.5261, allocations: 5.578 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5262, allocations: 125 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5263, allocations: 3.844 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.5263, allocations: 12.06 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.5265, allocations: 112.5 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5265, allocations: 0 / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.5265, allocations: 4 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5265, allocations: 2.328 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.5267, allocations: 103.2 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.5272, allocations: 290.7 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.5275, allocations: 125.7 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.5277, allocations: 49.55 kB / 0.8209 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.5277, allocations: 1.375 kB / 0.8209 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.5277, allocations: 36.53 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.634e-06/0.5277, allocations: 0 / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004256/0.5281, allocations: 191 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.5282, allocations: 58.66 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.5282, allocations: 124.5 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5283, allocations: 25.7 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.5283, allocations: 92.14 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.5283, allocations: 23.36 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.5284, allocations: 25.64 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.5284, allocations: 321.1 kB / 0.8218 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5285, allocations: 44.14 kB / 0.8218 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.5286, allocations: 50.34 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.5288, allocations: 92.78 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5288, allocations: 4 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002411/0.5291, allocations: 142.8 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5291, allocations: 11.34 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5291, allocations: 0 / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5291, allocations: 0.9844 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.5292, allocations: 23.06 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5292, allocations: 8.969 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.5293, allocations: 12.7 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.5293, allocations: 2.203 kB / 0.8222 GB, free: 13.92 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 7.308e-05/0.5293, allocations: 114.5 kB / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.5294, allocations: 7.422 kB / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.5297, allocations: 162 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5297, allocations: 1.531 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5297, allocations: 3.938 kB / 0.8225 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.5297, allocations: 0.7031 kB / 0.8225 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.5298, allocations: 155 kB / 0.8226 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5298, allocations: 3.938 kB / 0.8226 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.5299, allocations: 22.41 kB / 0.8226 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5299, allocations: 0 / 0.8226 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.5299, allocations: 4.109 kB / 0.8226 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.5299, allocations: 1.188 kB / 0.8226 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5299, allocations: 7.938 kB / 0.8226 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.5302, allocations: 240 kB / 0.8229 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.5302, allocations: 6.234 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.5302, allocations: 7.672 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.5303, allocations: 13.42 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.5303, allocations: 25.72 kB / 0.8229 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.5303, allocations: 8.953 kB / 0.8229 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.5304, allocations: 99.39 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5304, allocations: 0 / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001504/0.5305, allocations: 13.97 kB / 0.823 GB, free: 13.26 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.0004657/0.531, allocations: 0.7633 MB / 0.8238 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.5313, allocations: 107.3 kB / 0.8239 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5313, allocations: 0 / 0.8239 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.5314, allocations: 64.89 kB / 0.8239 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.5317, allocations: 12.83 kB / 0.824 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.5331, allocations: 1.534 MB / 0.8255 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.5331, allocations: 86.34 kB / 0.8255 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.5332, allocations: 9.281 kB / 0.8255 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.5332, allocations: 34.36 kB / 0.8256 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.5332, allocations: 0 / 0.8256 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.5504, allocations: 3.356 MB / 0.8289 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.619/7.17, allocations: 2.188 kB / 0.8289 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.046667901333421] Failed to read output from testmodel.py, exit status != 0: 7.247372128069401 7.261349562 6.733460576 Calling exit ...