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.001677/0.001677, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001636/0.001636, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9142/0.9142, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7161/0.7161, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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.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: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.41e-05, allocations: 9.672 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.00113/0.001144, allocations: 0.7219 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.001973, allocations: 0.8587 MB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.002012, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.002041, allocations: 7.922 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.002111, allocations: 11.88 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.002245, allocations: 31.89 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.002324, allocations: 71.83 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.002422, allocations: 12 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.002505, allocations: 47.83 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.002556, allocations: 31.95 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.002578, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.002587, allocations: 8 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.002605, allocations: 19.91 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.00263, allocations: 23.92 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.414e-05/0.002724, allocations: 79.73 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.002727, allocations: 4 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002728, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.002731, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 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.0003674/0.003099, allocations: 298.1 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.003134, allocations: 9.469 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.003163, allocations: 38.75 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.003185, allocations: 8.891 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.003278, allocations: 121.7 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.003291, allocations: 12.31 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.003301, allocations: 8.375 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.003447, allocations: 82.14 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.003453, allocations: 192 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.003462, allocations: 384 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.003467, allocations: 4.125 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.003595, allocations: 67.94 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.003911, allocations: 283.8 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.004059, allocations: 86.47 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.004126, allocations: 32.94 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.004142, allocations: 7.984 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.004158, allocations: 30.56 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 6.71e-07/0.004159, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002755/0.004434, allocations: 137.5 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.00446, allocations: 51.41 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.004522, allocations: 121.8 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.004535, allocations: 33.7 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.004569, allocations: 88.09 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.00459, allocations: 23.83 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.00462, allocations: 25.66 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.00469, allocations: 318.8 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.004751, allocations: 31.97 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.004806, allocations: 32.09 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.00492, allocations: 69.12 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.004922, allocations: 3.938 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001427/0.005065, allocations: 109.5 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005077, allocations: 10.19 kB / 0.6221 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.005081, allocations: 0 / 0.6221 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.005092, allocations: 3.984 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.00517, allocations: 23.98 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.005174, allocations: 0 / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.005208, allocations: 7.984 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.005213, allocations: 0 / 0.6221 GB, free: 9.371 MB / 0.5886 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.335e-05/0.005266, allocations: 118.8 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.005281, allocations: 7.953 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.005298, allocations: 8.438 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.005299, allocations: 0 / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005303, allocations: 4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.005305, allocations: 0 / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.005427, allocations: 164.6 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005427, allocations: 3.938 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.005472, allocations: 15.98 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005473, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.00548, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.00548, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005481, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.005649, allocations: 199.4 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.005661, allocations: 15.88 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.005671, allocations: 4 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.005719, allocations: 8 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.005766, allocations: 15.97 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.005769, allocations: 0 / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.005805, allocations: 96.58 kB / 0.6227 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005805, allocations: 3.938 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001491/0.005954, allocations: 16 kB / 0.6227 GB, free: 8.633 MB / 0.5886 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.0003386/0.006293, allocations: 0.7359 MB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.006459, allocations: 75.83 kB / 0.6235 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006461, allocations: 0 / 0.6235 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.006531, allocations: 39.97 kB / 0.6236 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.006722, allocations: 15.02 kB / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.007764, allocations: 1.452 MB / 0.625 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.007805, allocations: 75.28 kB / 0.6251 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.007839, allocations: 11.98 kB / 0.6251 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.00789, allocations: 24.48 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of SimCode: time 4.1e-07/0.007891, allocations: 0 / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.02188, allocations: 3.074 MB / 0.6281 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.016, allocations: 5.641 kB / 0.6281 GB, free: 3.16 MB / 0.5886 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.672997819259763] Failed to read output from testmodel.py, exit status != 0: 7.096678274683654 7.110297729 7.102725313 Calling exit ...