Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007856/0.0007856, 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.001241/0.001241, 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.9155/0.9155, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7313/0.7313, 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.Sources.Validation.Ramp,fileNamePrefix="IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.987e-06/3.987e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.275e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002376/0.002409, allocations: 0.5854 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003572, allocations: 0.8198 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.003608, allocations: 0 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.003638, allocations: 0 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.003708, allocations: 3.938 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.186e-05/0.00377, allocations: 3.984 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.00385, allocations: 23.94 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.377e-05/0.003914, allocations: 7.984 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.004003, allocations: 4 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.004049, allocations: 11.97 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.004076, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.004084, allocations: 4 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.004103, allocations: 11.88 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.004126, allocations: 0 / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.004221, allocations: 19.91 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.004226, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.894e-06/0.004228, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.004233, allocations: 4 kB / 0.6196 GB, free: 12.11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004567/0.004689, allocations: 254.4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.004742, allocations: 12.03 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.004782, allocations: 30.75 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.004808, allocations: 4.891 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.004918, allocations: 105.8 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.00493, allocations: 384 / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.004941, allocations: 4.312 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.005116, allocations: 46.23 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.005126, allocations: 4.188 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005137, allocations: 4.375 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005145, allocations: 4.125 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.005254, allocations: 23.97 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.00542, allocations: 124.8 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.005513, allocations: 30.56 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.005579, allocations: 24.84 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.005593, allocations: 3.938 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.005625, allocations: 34.56 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.734e-06/0.005627, allocations: 0 / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002929/0.00592, allocations: 73.64 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.005974, allocations: 59.34 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.006061, allocations: 97.84 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.006074, allocations: 25.7 kB / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.006116, allocations: 88.27 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.006147, allocations: 3.953 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.006184, allocations: 13.72 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.006285, allocations: 310.8 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.00635, allocations: 19.92 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.0064, allocations: 15.97 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.006516, allocations: 40.89 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006519, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001488/0.006668, allocations: 57.67 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.006689, allocations: 7.984 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.006696, allocations: 0 / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.006711, allocations: 0 / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.006799, allocations: 7.938 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.006805, allocations: 0 / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.006842, allocations: 15.95 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.006851, allocations: 0 / 0.6211 GB, free: 10.39 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 (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 8.302e-05/0.006934, allocations: 114.8 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.006943, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.006975, allocations: 7.297 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.006981, allocations: 7.984 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.006988, allocations: 3.938 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.006993, allocations: 3.984 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.007104, allocations: 120.8 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.007106, allocations: 0 / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.007158, allocations: 15.98 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.007162, allocations: 0 / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.007171, allocations: 0 / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.007174, allocations: 0 / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.007177, allocations: 3.938 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.007352, allocations: 89.03 kB / 0.6214 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.007362, allocations: 3.953 kB / 0.6214 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.007375, allocations: 0 / 0.6214 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.222e-05/0.007407, allocations: 12.02 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.007448, allocations: 11.88 kB / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.007451, allocations: 0 / 0.6215 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.287e-05/0.007484, allocations: 79.28 kB / 0.6215 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.007484, allocations: 0 / 0.6215 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001922/0.007676, allocations: 4 kB / 0.6216 GB, free: 9.852 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 (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.0004548/0.008131, allocations: 0.6125 MB / 0.6221 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.008306, allocations: 36 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.008308, allocations: 0 / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.008365, allocations: 19.92 kB / 0.6222 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.008642, allocations: 9.812 kB / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.009041, allocations: 118.6 kB / 0.6223 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.807e-05/0.009089, allocations: 59.34 kB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.009114, allocations: 4.125 kB / 0.6224 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.009155, allocations: 8.5 kB / 0.6224 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/0.009156, allocations: 0 / 0.6224 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.02915, allocations: 1.889 MB / 0.6242 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.811, allocations: 3.234 kB / 0.6242 GB, free: 7.148 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.690499941818416] Failed to read output from testmodel.py, exit status != 0: 6.8907889733091 6.900258452 6.894055219 Calling exit ...