Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.001122/0.001122, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001267/0.001267, allocations: 162 kB / 22.43 MB, free: 2.141 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.896/0.896, 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.7095/0.7095, allocations: 155 MB / 414.2 MB, free: 0.5078 MB / 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.Reals.Sources.Validation.Ramp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",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.001055/0.001055, allocations: 70.19 kB / 0.6187 GB, free: 13.23 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.4865/0.4876, allocations: 102 MB / 0.7183 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001585/0.4892, allocations: 0.5927 MB / 0.7189 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00072/0.4899, allocations: 0.8168 MB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.4899, allocations: 0 / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.49, allocations: 7.875 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/0.49, allocations: 1.828 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.168e-05/0.4901, allocations: 2.609 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.885e-05/0.4901, allocations: 21.47 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.4902, allocations: 2.312 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.4903, allocations: 10.06 kB / 0.7197 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.4903, allocations: 7.781 kB / 0.7197 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.4903, allocations: 5.219 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-06/0.4903, allocations: 2.375 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.4903, allocations: 8.688 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.4903, allocations: 1.875 kB / 0.7197 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.924e-05/0.4904, allocations: 22.44 kB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4904, allocations: 1.125 kB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4904, allocations: 0 / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4904, allocations: 0 / 0.7197 GB, free: 22.06 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002977/0.4907, allocations: 258.7 kB / 0.72 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4908, allocations: 10.41 kB / 0.72 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.137e-05/0.4908, allocations: 38.69 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.92e-05/0.4908, allocations: 3.141 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.798e-05/0.4909, allocations: 108.6 kB / 0.7201 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4909, allocations: 6.422 kB / 0.7202 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.4909, allocations: 384 / 0.7202 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.491, allocations: 42.62 kB / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.491, allocations: 3.938 kB / 0.7202 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.491, allocations: 0 / 0.7202 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.491, allocations: 0 / 0.7202 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.504e-05/0.4911, allocations: 34.58 kB / 0.7202 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.232e-05/0.4912, allocations: 126 kB / 0.7204 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.4913, allocations: 32.92 kB / 0.7204 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.4913, allocations: 22.25 kB / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.4913, allocations: 0.7969 kB / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.4913, allocations: 32.06 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4913, allocations: 1.375 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002101/0.4915, allocations: 78.05 kB / 0.7205 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.4916, allocations: 58.45 kB / 0.7206 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.585e-05/0.4916, allocations: 104.6 kB / 0.7207 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.4916, allocations: 25.7 kB / 0.7207 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.561e-05/0.4916, allocations: 86.17 kB / 0.7208 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.4917, allocations: 0 / 0.7208 GB, free: 21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.4917, allocations: 11.7 kB / 0.7208 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.938e-05/0.4917, allocations: 317 kB / 0.7211 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.4917, allocations: 17.55 kB / 0.7211 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.4918, allocations: 21.44 kB / 0.7211 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.4919, allocations: 30.75 kB / 0.7212 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4919, allocations: 0 / 0.7212 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001047/0.492, allocations: 71.62 kB / 0.7212 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.492, allocations: 9.531 kB / 0.7212 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.492, allocations: 0 / 0.7212 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.492, allocations: 1.719 kB / 0.7212 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.4921, allocations: 7.25 kB / 0.7212 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4921, allocations: 1.031 kB / 0.7212 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.4921, allocations: 5.703 kB / 0.7212 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.4921, allocations: 1.062 kB / 0.7212 GB, free: 20.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.13e-05/0.4922, allocations: 113.7 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-06/0.4922, allocations: 5.688 kB / 0.7214 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.4922, allocations: 12.72 kB / 0.7214 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4922, allocations: 1.062 kB / 0.7214 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4922, allocations: 0.7031 kB / 0.7214 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4922, allocations: 0 / 0.7214 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.063e-05/0.4922, allocations: 122.7 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4922, allocations: 0 / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.4923, allocations: 8.875 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4923, allocations: 3.938 kB / 0.7215 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.4923, allocations: 0 / 0.7215 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4923, allocations: 1.969 kB / 0.7215 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4923, allocations: 4 kB / 0.7215 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.4924, allocations: 85.66 kB / 0.7216 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.4924, allocations: 5.828 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.4924, allocations: 5.891 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.4924, allocations: 5.547 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.4924, allocations: 1.266 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.4924, allocations: 5.156 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.56e-05/0.4925, allocations: 84.06 kB / 0.7217 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4925, allocations: 4.031 kB / 0.7217 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001156/0.4926, allocations: 3.312 kB / 0.7217 GB, free: 20.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002093/0.4928, allocations: 0.6171 MB / 0.7223 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.4929, allocations: 35.39 kB / 0.7223 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.4929, allocations: 4.031 kB / 0.7223 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.493, allocations: 26 kB / 0.7224 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.4932, allocations: 3.609 kB / 0.7224 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.4934, allocations: 122.1 kB / 0.7225 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.4935, allocations: 58.42 kB / 0.7225 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.4935, allocations: 0 / 0.7225 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.4935, allocations: 10.19 kB / 0.7226 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4935, allocations: 0 / 0.7226 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.5079, allocations: 1.873 MB / 0.7244 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/6.942, allocations: 15.25 kB / 0.7244 GB, free: 18.42 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.654498787829652] Failed to read output from testmodel.py, exit status != 0: 7.020333367865533 7.033486446 6.541323594 Calling exit ...