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.0008473/0.0008473, 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.0009193/0.0009193, 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.867/0.867, allocations: 177.2 MB / 202.8 MB, free: 5.762 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.7276/0.7276, allocations: 154.7 MB / 413.9 MB, free: 0.7422 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: 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.000862/0.000862, allocations: 60.94 kB / 0.6184 GB, free: 13.44 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4747, allocations: 102 MB / 0.7179 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001402/0.4761, allocations: 0.5948 MB / 0.7185 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.4768, allocations: 0.8019 MB / 0.7193 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.4769, allocations: 7.875 kB / 0.7193 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.4769, allocations: 4 kB / 0.7193 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.477, allocations: 2.266 kB / 0.7193 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.701e-05/0.477, allocations: 5.172 kB / 0.7193 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.4771, allocations: 22.47 kB / 0.7193 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.4772, allocations: 13.92 kB / 0.7193 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.45e-05/0.4772, allocations: 5.203 kB / 0.7193 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.4773, allocations: 12.77 kB / 0.7194 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.4773, allocations: 2.281 kB / 0.7194 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-06/0.4773, allocations: 1.469 kB / 0.7194 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.4773, allocations: 0.75 kB / 0.7194 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.4773, allocations: 6.281 kB / 0.7194 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.209e-05/0.4774, allocations: 22.23 kB / 0.7194 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4774, allocations: 2.203 kB / 0.7194 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4774, allocations: 3.938 kB / 0.7194 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4774, allocations: 0 / 0.7194 GB, free: 22.39 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.0003531/0.4778, allocations: 259.3 kB / 0.7196 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4778, allocations: 10.44 kB / 0.7196 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.4779, allocations: 31.83 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.067e-05/0.4779, allocations: 2.188 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.478, allocations: 108.7 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.478, allocations: 5.75 kB / 0.7198 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.478, allocations: 384 / 0.7198 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.4781, allocations: 46.61 kB / 0.7198 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.4781, allocations: 3.938 kB / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.4781, allocations: 0 / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4781, allocations: 0 / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.4782, allocations: 31.2 kB / 0.7199 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.4783, allocations: 122.4 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.4784, allocations: 36.31 kB / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.4785, allocations: 18.16 kB / 0.72 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.4785, allocations: 0 / 0.72 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.4785, allocations: 32.69 kB / 0.7201 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4785, allocations: 0 / 0.7201 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002081/0.4787, allocations: 84.2 kB / 0.7201 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.4787, allocations: 55.53 kB / 0.7202 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.4788, allocations: 98.53 kB / 0.7203 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.4788, allocations: 25.7 kB / 0.7203 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.735e-05/0.4788, allocations: 86.25 kB / 0.7204 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.4788, allocations: 3.984 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.4788, allocations: 12.05 kB / 0.7204 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.998e-05/0.4789, allocations: 313.6 kB / 0.7207 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.4789, allocations: 20.77 kB / 0.7207 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.4789, allocations: 16.91 kB / 0.7208 GB, free: 21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.717e-05/0.479, allocations: 34.98 kB / 0.7208 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.479, allocations: 1.938 kB / 0.7208 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.334e-05/0.4791, allocations: 66.72 kB / 0.7209 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4791, allocations: 13 kB / 0.7209 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4791, allocations: 1.625 kB / 0.7209 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4791, allocations: 96 / 0.7209 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.4792, allocations: 15.03 kB / 0.7209 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.4792, allocations: 0.875 kB / 0.7209 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.4792, allocations: 6.016 kB / 0.7209 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.4792, allocations: 5.125 kB / 0.7209 GB, free: 20.93 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 3.981e-05/0.4793, allocations: 108.7 kB / 0.721 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-06/0.4793, allocations: 5.406 kB / 0.721 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.4793, allocations: 8.781 kB / 0.721 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.4793, allocations: 0.9375 kB / 0.721 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4793, allocations: 0 / 0.721 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4793, allocations: 5.094 kB / 0.721 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.559e-05/0.4793, allocations: 121.9 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4793, allocations: 1.641 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.4794, allocations: 6.547 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4794, allocations: 5.094 kB / 0.7211 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.4794, allocations: 0.7969 kB / 0.7211 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4794, allocations: 1.062 kB / 0.7211 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4794, allocations: 0 / 0.7211 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.4795, allocations: 89.59 kB / 0.7212 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-06/0.4795, allocations: 5.844 kB / 0.7212 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.4795, allocations: 5.5 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.4795, allocations: 5.984 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.4796, allocations: 1.984 kB / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.4796, allocations: 0 / 0.7212 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.569e-05/0.4796, allocations: 80.73 kB / 0.7213 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4796, allocations: 0 / 0.7213 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001213/0.4797, allocations: 3.203 kB / 0.7213 GB, free: 20.49 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.0002216/0.4799, allocations: 0.6284 MB / 0.7219 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.48, allocations: 31.39 kB / 0.722 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.48, allocations: 3.938 kB / 0.722 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.4801, allocations: 15.05 kB / 0.722 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.4803, allocations: 6.922 kB / 0.722 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.4805, allocations: 123 kB / 0.7221 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.647e-05/0.4806, allocations: 58.55 kB / 0.7222 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.4806, allocations: 1.094 kB / 0.7222 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.4806, allocations: 13.06 kB / 0.7222 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of SimCode: time 4.9e-07/0.4806, allocations: 3.938 kB / 0.7222 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.4976, allocations: 1.867 MB / 0.724 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.346/6.844, allocations: 6.953 kB / 0.724 GB, free: 18.76 MB / 0.6355 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.607577422983013] Failed to read output from testmodel.py, exit status != 0: 6.920778483035974 6.930175364 6.450997634 Calling exit ...