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.0008698/0.0008698, 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.001556/0.001556, 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.9523/0.9523, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7149/0.7149, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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 1.07e-05/1.07e-05, allocations: 0 / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.927e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001757/0.001796, allocations: 0.7318 MB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002957, allocations: 0.8664 MB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.003033, allocations: 4 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.319e-05/0.003086, allocations: 7.922 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.003206, allocations: 7.938 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.003487, allocations: 31.95 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.003643, allocations: 67.83 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.003816, allocations: 19.98 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.00395, allocations: 51.81 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.00402, allocations: 27.91 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.004054, allocations: 4 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.004066, allocations: 8 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.00409, allocations: 19.92 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.004122, allocations: 23.91 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.004239, allocations: 75.73 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.004243, allocations: 8 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.004245, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.004249, allocations: 0 / 0.6201 GB, free: 11.61 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.0004837/0.004733, allocations: 298.1 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.004776, allocations: 8.031 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.004822, allocations: 38.75 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.004851, allocations: 4.891 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.004961, allocations: 129.6 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.004977, allocations: 4.375 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.004987, allocations: 4.375 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.005176, allocations: 82.2 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005183, allocations: 4.188 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.005194, allocations: 384 / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.005202, allocations: 4.125 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.005391, allocations: 67.94 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.00581, allocations: 279.8 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.005988, allocations: 90.47 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.006065, allocations: 36.92 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.006085, allocations: 4 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.00611, allocations: 34.56 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.006112, allocations: 0 / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003164/0.006428, allocations: 133.5 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.006457, allocations: 55.34 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.006535, allocations: 129.5 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.006547, allocations: 25.7 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.006593, allocations: 100 kB / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.006614, allocations: 15.89 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.00665, allocations: 21.72 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.006738, allocations: 318.8 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.006808, allocations: 31.97 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.006866, allocations: 27.98 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.006996, allocations: 77.17 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.006999, allocations: 7.938 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001578/0.007157, allocations: 101.5 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.007172, allocations: 7.984 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007177, allocations: 0 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.00719, allocations: 4 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.007287, allocations: 11.98 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.007292, allocations: 4 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.007331, allocations: 15.94 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.007338, allocations: 4 kB / 0.6222 GB, free: 9.273 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 6.576e-05/0.007404, allocations: 114.8 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.007419, allocations: 4 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.007443, allocations: 12.44 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.007445, allocations: 112 / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.00745, allocations: 3.938 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.007455, allocations: 3.984 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.00768, allocations: 168.5 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007682, allocations: 4 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.007739, allocations: 15.98 kB / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007741, allocations: 0 / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.007749, allocations: 0 / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007751, allocations: 0 / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007752, allocations: 0 / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.007945, allocations: 199.4 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.007962, allocations: 15.92 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.007974, allocations: 0 / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.008025, allocations: 8 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.008078, allocations: 15.97 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.008083, allocations: 4.125 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.008127, allocations: 103.2 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008127, allocations: 0 / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000157/0.008284, allocations: 8 kB / 0.6228 GB, free: 8.535 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.0004102/0.008694, allocations: 0.7319 MB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.008878, allocations: 79.83 kB / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00888, allocations: 0 / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.008955, allocations: 43.95 kB / 0.6236 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.00922, allocations: 4 kB / 0.6236 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.01038, allocations: 1.448 MB / 0.6251 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.01043, allocations: 79.27 kB / 0.6251 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.055e-05/0.01047, allocations: 8 kB / 0.6251 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.01053, allocations: 28.48 kB / 0.6252 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/0.01053, allocations: 0 / 0.6252 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.02865, allocations: 3.069 MB / 0.6282 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.088, allocations: 0 / 0.6282 GB, free: 3.074 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.948959145694971] Failed to read output from testmodel.py, exit status != 0: 7.174131277948618 7.186101277 7.179918314 Calling exit ...