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.0008498/0.0008498, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001002/0.001002, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9222/0.9222, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.7371/0.7371, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [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: 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.001428/0.001428, allocations: 70.77 kB / 0.7178 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4921, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001347/0.4935, allocations: 0.5907 MB / 0.818 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006769/0.4941, allocations: 0.8114 MB / 0.8188 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.4942, allocations: 0 / 0.8188 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.4942, allocations: 12.33 kB / 0.8188 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.4942, allocations: 0 / 0.8188 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.135e-05/0.4943, allocations: 1.969 kB / 0.8188 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.985e-05/0.4944, allocations: 19.38 kB / 0.8188 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/0.4944, allocations: 3.234 kB / 0.8188 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.975e-05/0.4945, allocations: 9.25 kB / 0.8188 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.4945, allocations: 8.234 kB / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.4945, allocations: 1.781 kB / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-06/0.4946, allocations: 0 / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.4946, allocations: 8.469 kB / 0.8188 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.4946, allocations: 8.5 kB / 0.8189 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.952e-05/0.4947, allocations: 17.48 kB / 0.8189 GB, free: 224 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4947, allocations: 4 kB / 0.8189 GB, free: 220 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4947, allocations: 0 / 0.8189 GB, free: 220 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4947, allocations: 0 / 0.8189 GB, free: 220 kB / 0.6042 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.0003514/0.4951, allocations: 256.3 kB / 0.8191 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4951, allocations: 10.25 kB / 0.8191 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.4951, allocations: 30.75 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.4952, allocations: 5.047 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.955e-05/0.4952, allocations: 119.2 kB / 0.8193 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.4953, allocations: 384 / 0.8193 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.4953, allocations: 8.625 kB / 0.8193 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.4954, allocations: 39.84 kB / 0.8193 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4954, allocations: 3.938 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.4954, allocations: 0 / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4954, allocations: 0.8438 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.4955, allocations: 33.25 kB / 0.8194 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.4957, allocations: 122.5 kB / 0.8195 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.4957, allocations: 38.77 kB / 0.8195 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.4958, allocations: 20.77 kB / 0.8195 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.4958, allocations: 0 / 0.8195 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.4958, allocations: 33.83 kB / 0.8196 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.4958, allocations: 0 / 0.8196 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002108/0.496, allocations: 75.38 kB / 0.8196 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.496, allocations: 55.53 kB / 0.8197 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.4961, allocations: 105.9 kB / 0.8198 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4961, allocations: 25.7 kB / 0.8198 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.4962, allocations: 80.98 kB / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.4962, allocations: 3.469 kB / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.4962, allocations: 18.59 kB / 0.8199 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.4963, allocations: 315.5 kB / 0.8202 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.4963, allocations: 11.39 kB / 0.8202 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.4964, allocations: 15.31 kB / 0.8202 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.242e-05/0.4965, allocations: 35.14 kB / 0.8203 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4965, allocations: 3.094 kB / 0.8203 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001125/0.4966, allocations: 60.88 kB / 0.8203 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4966, allocations: 9.906 kB / 0.8203 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4966, allocations: 0.6094 kB / 0.8203 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4966, allocations: 0 / 0.8203 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.4967, allocations: 15.78 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4967, allocations: 0.5156 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.4967, allocations: 6.609 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.4967, allocations: 0 / 0.8204 GB, free: 14.76 MB / 0.6198 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 5.536e-05/0.4968, allocations: 113.7 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-06/0.4968, allocations: 3.938 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.4968, allocations: 9.984 kB / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4968, allocations: 0 / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4968, allocations: 4 kB / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4968, allocations: 5.891 kB / 0.8205 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.12e-05/0.4969, allocations: 121.9 kB / 0.8206 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4969, allocations: 0 / 0.8206 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.4969, allocations: 7.234 kB / 0.8206 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4969, allocations: 9.594 kB / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4969, allocations: 0 / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4969, allocations: 1.375 kB / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4969, allocations: 0.7031 kB / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.497, allocations: 88.58 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.497, allocations: 2.984 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.4971, allocations: 4.5 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.4971, allocations: 8.109 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.4971, allocations: 0.6094 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.4971, allocations: 4.641 kB / 0.8207 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.4971, allocations: 84.52 kB / 0.8208 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4971, allocations: 0 / 0.8208 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000118/0.4973, allocations: 3.312 kB / 0.8208 GB, free: 14.3 MB / 0.6198 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.0003112/0.4976, allocations: 0.6238 MB / 0.8214 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.4977, allocations: 36.66 kB / 0.8215 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4977, allocations: 0 / 0.8215 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.4978, allocations: 17.11 kB / 0.8215 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.498, allocations: 12.02 kB / 0.8215 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.4983, allocations: 126.6 kB / 0.8216 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.4983, allocations: 57.34 kB / 0.8217 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.4984, allocations: 3 kB / 0.8217 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.4984, allocations: 8 kB / 0.8217 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of SimCode: time 8.21e-07/0.4984, allocations: 0 / 0.8217 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.5152, allocations: 1.749 MB / 0.8234 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.74/7.255, allocations: 9.516 kB / 0.8234 GB, free: 12.61 MB / 0.6198 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: 10.134310548659414] Failed to read output from testmodel.py, exit status != 0: 7.333756610285491 7.345049346 6.848114522 Calling exit ...