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.0009105/0.0009105, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0008989/0.0008989, 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.8843/0.8843, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.6866/0.6866, allocations: 155 MB / 414.2 MB, free: 488 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.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.0009446/0.0009446, allocations: 66.44 kB / 0.6187 GB, free: 13.25 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.4745/0.4754, allocations: 102 MB / 0.7183 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001473/0.4769, allocations: 0.7477 MB / 0.719 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.4777, allocations: 0.8826 MB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.4778, allocations: 1.469 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.4778, allocations: 9.375 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.4779, allocations: 14.61 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.478, allocations: 42.28 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.4781, allocations: 83.11 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4783, allocations: 21.7 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.4784, allocations: 55.02 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.4784, allocations: 44.59 kB / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.4785, allocations: 8.812 kB / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.4785, allocations: 11.19 kB / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.4785, allocations: 19.94 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.4785, allocations: 25.83 kB / 0.7202 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.4787, allocations: 105.2 kB / 0.7203 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4787, allocations: 0 / 0.7203 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4787, allocations: 3.938 kB / 0.7203 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4787, allocations: 1.156 kB / 0.7203 GB, free: 21.83 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.0004013/0.4791, allocations: 326.8 kB / 0.7206 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4791, allocations: 10.47 kB / 0.7206 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.4792, allocations: 38.58 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.4792, allocations: 8.328 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/0.4793, allocations: 117 kB / 0.7208 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4793, allocations: 7.656 kB / 0.7208 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.4793, allocations: 7.625 kB / 0.7208 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.4795, allocations: 102.1 kB / 0.7209 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.4795, allocations: 7.938 kB / 0.7209 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4795, allocations: 5.156 kB / 0.7209 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4795, allocations: 2.078 kB / 0.7209 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.4798, allocations: 92.8 kB / 0.721 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.4801, allocations: 303.1 kB / 0.7213 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.4805, allocations: 118.8 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4806, allocations: 54.36 kB / 0.7214 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.4806, allocations: 2.062 kB / 0.7214 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.4807, allocations: 32.19 kB / 0.7215 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.4807, allocations: 3.938 kB / 0.7215 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004262/0.4811, allocations: 187.9 kB / 0.7216 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.4811, allocations: 56.34 kB / 0.7217 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.4812, allocations: 120.2 kB / 0.7218 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.4812, allocations: 30.67 kB / 0.7218 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.4812, allocations: 96.41 kB / 0.7219 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.4812, allocations: 28.02 kB / 0.722 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.4813, allocations: 24.27 kB / 0.722 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.4813, allocations: 315.3 kB / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4814, allocations: 52.28 kB / 0.7223 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.4815, allocations: 48.94 kB / 0.7224 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.4817, allocations: 92.75 kB / 0.7225 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4817, allocations: 0 / 0.7225 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002599/0.482, allocations: 142.5 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.482, allocations: 6.047 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.482, allocations: 1.062 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.482, allocations: 0 / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.4821, allocations: 24.62 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.4821, allocations: 4.641 kB / 0.7226 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.4822, allocations: 20.5 kB / 0.7227 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4822, allocations: 3.422 kB / 0.7227 GB, free: 20.03 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,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.527e-05/0.4822, allocations: 120 kB / 0.7228 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.4823, allocations: 7.203 kB / 0.7228 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.4826, allocations: 154.2 kB / 0.7229 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4826, allocations: 4 kB / 0.7229 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4826, allocations: 5.031 kB / 0.7229 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4826, allocations: 0 / 0.7229 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.4828, allocations: 153.6 kB / 0.7231 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4828, allocations: 0 / 0.7231 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.4829, allocations: 32.11 kB / 0.7231 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4829, allocations: 1.312 kB / 0.7231 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.4829, allocations: 2.391 kB / 0.7231 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4829, allocations: 1.094 kB / 0.7231 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4829, allocations: 3.938 kB / 0.7231 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4831, allocations: 240.2 kB / 0.7233 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.4832, allocations: 10.2 kB / 0.7234 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4832, allocations: 6.016 kB / 0.7234 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.4832, allocations: 15.72 kB / 0.7234 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.4833, allocations: 25.86 kB / 0.7234 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.4833, allocations: 3.297 kB / 0.7234 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.4834, allocations: 96.98 kB / 0.7235 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4834, allocations: 4 kB / 0.7235 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001632/0.4835, allocations: 15.91 kB / 0.7235 GB, free: 19.38 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 (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.0004022/0.4839, allocations: 0.765 MB / 0.7243 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.4842, allocations: 106.5 kB / 0.7244 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4842, allocations: 0 / 0.7244 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4843, allocations: 63.14 kB / 0.7244 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.4846, allocations: 14.38 kB / 0.7244 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4859, allocations: 1.543 MB / 0.7259 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/0.486, allocations: 78.06 kB / 0.726 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.486, allocations: 13.38 kB / 0.726 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.4861, allocations: 30.59 kB / 0.7261 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/0.4861, allocations: 1.125 kB / 0.7261 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.5035, allocations: 3.476 MB / 0.7295 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/7.134, allocations: 1.25 kB / 0.7295 GB, free: 16.29 MB / 0.6355 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: 9.773447584128007] Failed to read output from testmodel.py, exit status != 0: 7.2099878310691565 7.218663904 6.738140864 Calling exit ...