Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000831/0.000831, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008579/0.0008579, allocations: 162 kB / 22.43 MB, free: 2.145 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.8678/0.8678, allocations: 177.2 MB / 202.8 MB, free: 5.766 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.717/0.717, allocations: 154.9 MB / 414.2 MB, free: 0.4961 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.Sources.Validation.Ramp,fileNamePrefix="IDEAS_dev_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_dev_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.0008858/0.0008858, allocations: 66.38 kB / 0.6187 GB, free: 13.21 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4476, allocations: 102 MB / 0.7182 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001461/0.4491, allocations: 0.5875 MB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007405/0.4498, allocations: 0.8094 MB / 0.7196 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.4499, allocations: 0 / 0.7196 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.4499, allocations: 0 / 0.7196 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.4499, allocations: 5.953 kB / 0.7196 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.87e-05/0.45, allocations: 6.109 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.45, allocations: 17.22 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.4501, allocations: 6.188 kB / 0.7196 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.4502, allocations: 18.23 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.4502, allocations: 3.984 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.4502, allocations: 2.875 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.05e-06/0.4502, allocations: 1.531 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.4502, allocations: 8.781 kB / 0.7197 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.4503, allocations: 6.156 kB / 0.7197 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.394e-05/0.4503, allocations: 17.81 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4503, allocations: 5.5 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4503, allocations: 0 / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4503, allocations: 4 kB / 0.7197 GB, free: 22.14 MB / 0.6355 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.00029/0.4506, allocations: 253.1 kB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4507, allocations: 15.44 kB / 0.72 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.147e-05/0.4507, allocations: 31.36 kB / 0.72 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.4507, allocations: 6.438 kB / 0.72 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.043e-05/0.4508, allocations: 114.1 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.4508, allocations: 384 / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.4508, allocations: 1.5 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4509, allocations: 41.42 kB / 0.7202 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4509, allocations: 7.938 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.4509, allocations: 5.062 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4509, allocations: 4.594 kB / 0.7202 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.451, allocations: 29.67 kB / 0.7202 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.011e-05/0.4511, allocations: 122 kB / 0.7203 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.4512, allocations: 28.2 kB / 0.7203 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.4512, allocations: 24.09 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.4512, allocations: 4 kB / 0.7204 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.4512, allocations: 32.41 kB / 0.7204 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.4512, allocations: 0 / 0.7204 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001961/0.4514, allocations: 78.55 kB / 0.7205 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.4514, allocations: 52.53 kB / 0.7205 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.375e-05/0.4515, allocations: 101.9 kB / 0.7206 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.4515, allocations: 25.7 kB / 0.7206 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.402e-05/0.4515, allocations: 86.03 kB / 0.7207 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.4515, allocations: 1.781 kB / 0.7207 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.4515, allocations: 14.81 kB / 0.7207 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.885e-05/0.4516, allocations: 313.2 kB / 0.721 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.4516, allocations: 13.22 kB / 0.7211 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.4516, allocations: 17.62 kB / 0.7211 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.4517, allocations: 39.03 kB / 0.7211 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4517, allocations: 0 / 0.7211 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.142e-05/0.4518, allocations: 62.97 kB / 0.7212 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4518, allocations: 10.25 kB / 0.7212 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.4518, allocations: 0 / 0.7212 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4519, allocations: 1.438 kB / 0.7212 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.4519, allocations: 7.375 kB / 0.7212 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4519, allocations: 0.6562 kB / 0.7212 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.4519, allocations: 9.719 kB / 0.7212 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.4519, allocations: 4.938 kB / 0.7212 GB, free: 20.69 MB / 0.6355 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 4.055e-05/0.452, allocations: 114.6 kB / 0.7213 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-06/0.452, allocations: 5 kB / 0.7213 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.547e-05/0.452, allocations: 9.078 kB / 0.7213 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.452, allocations: 192 / 0.7213 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.452, allocations: 1.562 kB / 0.7213 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.452, allocations: 3.984 kB / 0.7213 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.793e-05/0.4521, allocations: 122.6 kB / 0.7214 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4521, allocations: 0.7031 kB / 0.7214 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.4521, allocations: 11.23 kB / 0.7215 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4521, allocations: 8.875 kB / 0.7215 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.4521, allocations: 0 / 0.7215 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4521, allocations: 1.156 kB / 0.7215 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4521, allocations: 0.5156 kB / 0.7215 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.4522, allocations: 89.25 kB / 0.7216 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.4522, allocations: 2.938 kB / 0.7216 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.4522, allocations: 4.641 kB / 0.7216 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.825e-05/0.4522, allocations: 9.516 kB / 0.7216 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.4523, allocations: 2.922 kB / 0.7216 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.4523, allocations: 1.062 kB / 0.7216 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.752e-05/0.4523, allocations: 83.09 kB / 0.7217 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4523, allocations: 1.281 kB / 0.7217 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001098/0.4524, allocations: 2.281 kB / 0.7217 GB, free: 20.23 MB / 0.6355 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.0002092/0.4526, allocations: 0.6241 MB / 0.7223 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.4527, allocations: 32.44 kB / 0.7223 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4527, allocations: 0 / 0.7223 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.4528, allocations: 18.38 kB / 0.7223 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.453, allocations: 2.828 kB / 0.7223 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.4533, allocations: 129.5 kB / 0.7224 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.4533, allocations: 62.34 kB / 0.7225 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.4533, allocations: 0 / 0.7225 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.4533, allocations: 10.16 kB / 0.7225 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.4533, allocations: 0 / 0.7225 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.469, allocations: 1.872 MB / 0.7243 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/7.271, allocations: 6.188 kB / 0.7243 GB, free: 18.52 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.025862948037684] Failed to read output from testmodel.py, exit status != 0: 7.349197183037177 7.362735895 6.910349733 Calling exit ...