Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.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.0008468/0.0008468, allocations: 72.47 kB / 19.14 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.001465/0.001465, allocations: 165.9 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.9075/0.9075, allocations: 177.2 MB / 202.8 MB, free: 5.637 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.6917/0.6917, allocations: 154.9 MB / 414.2 MB, free: 396 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.Reals.Validation.Round,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",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.0009687/0.0009687, allocations: 76.98 kB / 0.6187 GB, free: 13.13 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.4889/0.4899, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001455/0.4914, allocations: 0.7401 MB / 0.719 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00076/0.4921, allocations: 0.8637 MB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.4922, allocations: 1.125 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.4922, allocations: 8.625 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.4923, allocations: 6.656 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.4924, allocations: 26.33 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.4925, allocations: 82.36 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.4926, allocations: 20.31 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.4927, allocations: 42.75 kB / 0.7201 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.4928, allocations: 36.36 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.4928, allocations: 6.125 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.4928, allocations: 7.812 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.4929, allocations: 17.23 kB / 0.7201 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.4929, allocations: 28.45 kB / 0.7201 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.493, allocations: 90.28 kB / 0.7202 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.493, allocations: 2.094 kB / 0.7202 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.493, allocations: 0 / 0.7202 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4931, allocations: 4 kB / 0.7202 GB, free: 21.86 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004638/0.4935, allocations: 302 kB / 0.7205 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4936, allocations: 10.25 kB / 0.7205 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.4936, allocations: 37.53 kB / 0.7206 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.4936, allocations: 8.984 kB / 0.7206 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/0.4937, allocations: 122 kB / 0.7207 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4937, allocations: 6.844 kB / 0.7207 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.4937, allocations: 3.594 kB / 0.7207 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.4939, allocations: 87.47 kB / 0.7208 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4939, allocations: 3.938 kB / 0.7208 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4939, allocations: 5.281 kB / 0.7208 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.494, allocations: 1.094 kB / 0.7208 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.4941, allocations: 62.91 kB / 0.7209 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.4945, allocations: 276.8 kB / 0.7211 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.4947, allocations: 85.42 kB / 0.7212 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.4947, allocations: 40.33 kB / 0.7212 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.4948, allocations: 1.188 kB / 0.7212 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4948, allocations: 32.31 kB / 0.7213 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.4948, allocations: 0 / 0.7213 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003258/0.4951, allocations: 140.4 kB / 0.7214 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.4951, allocations: 57.25 kB / 0.7215 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.4952, allocations: 126.7 kB / 0.7216 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.4952, allocations: 30.77 kB / 0.7216 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.4952, allocations: 92.39 kB / 0.7217 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.4953, allocations: 25.02 kB / 0.7217 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.4953, allocations: 20.95 kB / 0.7217 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.4953, allocations: 323 kB / 0.7221 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.4954, allocations: 26.56 kB / 0.7221 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.381e-05/0.4955, allocations: 31.44 kB / 0.7221 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.4956, allocations: 65.84 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4956, allocations: 4 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001641/0.4957, allocations: 115.1 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4958, allocations: 4.594 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4958, allocations: 1.891 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4958, allocations: 0 / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.4959, allocations: 16.48 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4959, allocations: 0.7031 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.4959, allocations: 11.28 kB / 0.7223 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4959, allocations: 5.859 kB / 0.7223 GB, free: 20.11 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 (6): * Single equations (assignments): 6 * 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 5.238e-05/0.496, allocations: 119 kB / 0.7224 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.496, allocations: 7.031 kB / 0.7224 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.496, allocations: 11.75 kB / 0.7225 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.496, allocations: 1.094 kB / 0.7225 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.496, allocations: 0 / 0.7225 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.496, allocations: 0.5625 kB / 0.7225 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.4962, allocations: 154.7 kB / 0.7226 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4962, allocations: 0 / 0.7226 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.4962, allocations: 16.45 kB / 0.7226 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4962, allocations: 5.125 kB / 0.7226 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4962, allocations: 5.844 kB / 0.7226 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4962, allocations: 3.938 kB / 0.7226 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4962, allocations: 1.938 kB / 0.7226 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.4964, allocations: 202.8 kB / 0.7228 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.4964, allocations: 7.125 kB / 0.7228 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4965, allocations: 1.578 kB / 0.7228 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.4965, allocations: 9.969 kB / 0.7228 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.4966, allocations: 21.58 kB / 0.7229 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.4966, allocations: 2.109 kB / 0.7229 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.4966, allocations: 98.27 kB / 0.723 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4966, allocations: 0 / 0.723 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001496/0.4968, allocations: 9.875 kB / 0.723 GB, free: 19.54 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 (6): * Single equations (assignments): 6 * 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.0003606/0.4971, allocations: 0.7441 MB / 0.7237 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4973, allocations: 69.95 kB / 0.7238 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4973, allocations: 4 kB / 0.7238 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.4974, allocations: 43.81 kB / 0.7238 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.4977, allocations: 3.875 kB / 0.7238 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4989, allocations: 1.452 MB / 0.7252 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.4989, allocations: 75.64 kB / 0.7253 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.499, allocations: 5.234 kB / 0.7253 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.499, allocations: 34.23 kB / 0.7253 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/0.499, allocations: 0 / 0.7253 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.5165, allocations: 3.077 MB / 0.7283 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.517/7.034, allocations: 5.453 kB / 0.7284 GB, free: 16.49 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Round.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.693100078962743] Failed to read output from testmodel.py, exit status != 0: 7.11229211720638 7.121656573 6.626698747 Calling exit ...