Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007825/0.0007825, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009039/0.0009039, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8948/0.8948, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7274/0.7274, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.882e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001432/0.001461, allocations: 0.7355 MB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.002333, allocations: 0.8588 MB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.002379, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.002409, allocations: 3.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.288e-05/0.002491, allocations: 11.88 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.00265, allocations: 35.84 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.002749, allocations: 75.81 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.002875, allocations: 19.97 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.002974, allocations: 35.91 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.003037, allocations: 35.89 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.003065, allocations: 8 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.003075, allocations: 4 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.0031, allocations: 15.98 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.00313, allocations: 27.91 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003249, allocations: 83.72 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.003252, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.894e-06/0.003254, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.003259, allocations: 0 / 0.6201 GB, free: 11.66 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.0004638/0.003723, allocations: 294.1 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.003769, allocations: 15.97 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.003804, allocations: 38.73 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.003832, allocations: 8.891 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.003942, allocations: 117.7 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.003959, allocations: 16.31 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.003972, allocations: 4.375 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.004129, allocations: 78.2 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.004136, allocations: 192 / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.004148, allocations: 4.375 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004153, allocations: 4.125 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.004294, allocations: 71.88 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.004657, allocations: 275.9 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.004821, allocations: 86.47 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.004895, allocations: 40.86 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.004912, allocations: 4 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.004933, allocations: 34.56 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.004934, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002992/0.005233, allocations: 137.6 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.005273, allocations: 55.41 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.005349, allocations: 117.8 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.005362, allocations: 25.81 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.005405, allocations: 108 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.005425, allocations: 11.84 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.005462, allocations: 25.7 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.005542, allocations: 318.8 kB / 0.6219 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.005613, allocations: 35.91 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.005671, allocations: 31.97 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.005795, allocations: 69.19 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.005798, allocations: 3.938 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001613/0.00596, allocations: 105.6 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.005973, allocations: 8 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005977, allocations: 0 / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.005988, allocations: 0 / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.006077, allocations: 23.92 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.006082, allocations: 0 / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.00612, allocations: 7.984 kB / 0.6222 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.006126, allocations: 0 / 0.6222 GB, free: 9.324 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.966e-05/0.006186, allocations: 118.8 kB / 0.6223 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.006207, allocations: 7.953 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.006231, allocations: 12.42 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006233, allocations: 4 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006237, allocations: 0 / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00624, allocations: 0 / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.006369, allocations: 160.6 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006371, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.006423, allocations: 15.98 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.006425, allocations: 0 / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.006435, allocations: 7.984 kB / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.006437, allocations: 4 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006438, allocations: 0 / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.006628, allocations: 195.4 kB / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.006641, allocations: 15.89 kB / 0.6227 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.006652, allocations: 4 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.006704, allocations: 12.11 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.006754, allocations: 11.98 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.006759, allocations: 4 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.0068, allocations: 102.3 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0068, allocations: 0 / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001512/0.006951, allocations: 12 kB / 0.6228 GB, free: 8.582 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.000658/0.007609, allocations: 0.7357 MB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.007783, allocations: 71.94 kB / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.007784, allocations: 0 / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.007857, allocations: 43.91 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.008094, allocations: 11.94 kB / 0.6236 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.009217, allocations: 1.444 MB / 0.6251 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.009264, allocations: 75.33 kB / 0.6251 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.009303, allocations: 8 kB / 0.6251 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.00936, allocations: 28.48 kB / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of SimCode: time 5.72e-07/0.009361, allocations: 0 / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.02751, allocations: 3.079 MB / 0.6282 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.518/6.546, allocations: 8.062 kB / 0.6282 GB, free: 3.109 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.218121950514615] Failed to read output from testmodel.py, exit status != 0: 6.624956949613988 6.635078511 6.630058492 Calling exit ...