Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0008079/0.0008079, 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.0009473/0.0009473, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.978/0.978, allocations: 230.6 MB / 256 MB, free: 9.617 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.7565/0.7565, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.0009418/0.0009418, allocations: 64.28 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.4878, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001324/0.4892, allocations: 0.5473 MB / 0.8183 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.002e-05/0.4892, allocations: 0.75 kB / 0.8183 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.4892, allocations: 0 / 0.8183 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.4893, allocations: 0 / 0.8183 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.491e-05/0.4893, allocations: 0 / 0.8183 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.673e-05/0.4893, allocations: 7.938 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.4894, allocations: 0.75 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.4894, allocations: 4.766 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.4894, allocations: 3.984 kB / 0.8183 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.18e-05/0.4895, allocations: 7.938 kB / 0.8184 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.4895, allocations: 3.25 kB / 0.8184 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.598e-06/0.4895, allocations: 0 / 0.8184 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.4895, allocations: 0 / 0.8184 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.4895, allocations: 0.6562 kB / 0.8184 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.82e-05/0.4896, allocations: 5.297 kB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4896, allocations: 2.438 kB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4896, allocations: 0 / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4896, allocations: 0 / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001951/0.4898, allocations: 246.2 kB / 0.8186 GB, free: 428 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4898, allocations: 8.781 kB / 0.8186 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.285e-05/0.4898, allocations: 35.27 kB / 0.8186 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.823e-05/0.4899, allocations: 1.641 kB / 0.8186 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.4e-05/0.4899, allocations: 103.3 kB / 0.8187 GB, free: 256 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.4899, allocations: 3.906 kB / 0.8187 GB, free: 256 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.4899, allocations: 384 / 0.8187 GB, free: 256 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.82e-05/0.49, allocations: 30.88 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.49, allocations: 3.938 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.49, allocations: 3.906 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.49, allocations: 0 / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.367e-05/0.49, allocations: 4.5 kB / 0.8188 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.4903, allocations: 356.2 kB / 0.8191 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/0.4903, allocations: 171.4 kB / 0.8193 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.4904, allocations: 83.42 kB / 0.8194 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.4904, allocations: 75.28 kB / 0.8194 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.4904, allocations: 110.4 kB / 0.8195 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.4904, allocations: 0 / 0.8195 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.523e-05/0.4905, allocations: 28.14 kB / 0.8196 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.4905, allocations: 131.5 kB / 0.8197 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.4906, allocations: 94.7 kB / 0.8198 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.4906, allocations: 25.7 kB / 0.8198 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.4906, allocations: 85.42 kB / 0.8199 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.4906, allocations: 3.719 kB / 0.8199 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.4906, allocations: 9.719 kB / 0.8199 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.4907, allocations: 312.2 kB / 0.8202 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.4907, allocations: 4 kB / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-06/0.4907, allocations: 0 / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.977e-05/0.4907, allocations: 78.97 kB / 0.8203 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.4908, allocations: 83.16 kB / 0.8204 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.637e-05/0.4908, allocations: 34.98 kB / 0.8204 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.4908, allocations: 81.44 kB / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.4909, allocations: 77.47 kB / 0.8206 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.754e-05/0.4909, allocations: 162.2 kB / 0.8207 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.776e-05/0.4909, allocations: 76.94 kB / 0.8208 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.575e-05/0.491, allocations: 157.1 kB / 0.8209 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.491, allocations: 76.03 kB / 0.821 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.491, allocations: 80.09 kB / 0.8211 GB, free: 13.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0003325/0.4913, allocations: 266 kB / 0.8213 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.4914, allocations: 105.5 kB / 0.8214 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.4914, allocations: 111 kB / 0.8215 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/0.4915, allocations: 181 kB / 0.8217 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.092e-05/0.4915, allocations: 183.1 kB / 0.8219 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.604e-05/0.4915, allocations: 181.1 kB / 0.8221 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.4917, allocations: 380.8 kB / 0.8224 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.4917, allocations: 101 kB / 0.8225 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.4917, allocations: 106.3 kB / 0.8226 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.54e-05/0.4918, allocations: 181.3 kB / 0.8228 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.4918, allocations: 190.1 kB / 0.823 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.076e-05/0.4919, allocations: 184.4 kB / 0.8231 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.357e-05/0.4919, allocations: 177 kB / 0.8233 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.492, allocations: 315.7 kB / 0.8236 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.492, allocations: 102.8 kB / 0.8237 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.4921, allocations: 186.9 kB / 0.8239 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.4921, allocations: 108 kB / 0.824 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.4922, allocations: 183.5 kB / 0.8242 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.4922, allocations: 105.7 kB / 0.8243 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.4923, allocations: 79.33 kB / 0.8243 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4923, allocations: 0 / 0.8243 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001592/0.4924, allocations: 0 / 0.8243 GB, free: 10.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000292/0.4927, allocations: 0.812 MB / 0.8251 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.103e-05/0.4928, allocations: 96 / 0.8251 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4928, allocations: 4 kB / 0.8251 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.4928, allocations: 0 / 0.8251 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.493, allocations: 458.2 kB / 0.8256 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008685/0.4939, allocations: 1.523 MB / 0.8271 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.4939, allocations: 60.25 kB / 0.8271 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.804e-06/0.494, allocations: 0 / 0.8271 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.494, allocations: 7.438 kB / 0.8271 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/0.494, allocations: 0 / 0.8271 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.5103, allocations: 1.416 MB / 0.8285 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/7.32, allocations: 7.875 kB / 0.8285 GB, free: 6.531 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.280913652852178] Failed to read output from testmodel.py, exit status != 0: 7.398621751926839 7.414467049 6.922427509 Calling exit ...