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.0008509/0.0008509, 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.000957/0.000957, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.875/0.875, allocations: 177.1 MB / 202.8 MB, free: 5.758 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7182/0.7182, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.155e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001174/0.001195, allocations: 0.5898 MB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006618/0.001857, allocations: 0.8082 MB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.001883, allocations: 0 / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.001907, allocations: 3.938 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/0.001961, allocations: 0 / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.637e-05/0.002008, allocations: 4 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.229e-05/0.00207, allocations: 23.91 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.002115, allocations: 4 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.002185, allocations: 11.92 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.002217, allocations: 8 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.002237, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-06/0.002243, allocations: 8 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.002256, allocations: 3.984 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.002279, allocations: 0 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.616e-05/0.002345, allocations: 19.97 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002347, allocations: 0 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002348, allocations: 3.938 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.002352, allocations: 0 / 0.6195 GB, free: 12.18 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.0002939/0.002646, allocations: 250.4 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.002683, allocations: 9.469 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.002711, allocations: 38.73 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.7e-05/0.002728, allocations: 8.891 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.269e-05/0.002801, allocations: 109.7 kB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.00281, allocations: 4.312 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.002817, allocations: 384 / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.002921, allocations: 42.23 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.002928, allocations: 4.188 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.002936, allocations: 4.359 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.002941, allocations: 4.125 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.003009, allocations: 31.97 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.003156, allocations: 120.8 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.003256, allocations: 34.48 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.003307, allocations: 20.91 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.003317, allocations: 0 / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.003335, allocations: 34.56 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.003336, allocations: 0 / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001808/0.003517, allocations: 77.58 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.00355, allocations: 59.34 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.0036, allocations: 97.86 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.003608, allocations: 25.7 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/0.003632, allocations: 84.12 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.003652, allocations: 3.953 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.003676, allocations: 17.72 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.003741, allocations: 314.8 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.003776, allocations: 16.11 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.003808, allocations: 15.98 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.557e-05/0.003874, allocations: 36.81 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.003875, allocations: 0 / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.233e-05/0.003958, allocations: 61.61 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.003969, allocations: 8.094 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.003973, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.003982, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.004039, allocations: 11.92 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.004043, allocations: 0 / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.004064, allocations: 7.984 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.004069, allocations: 4 kB / 0.621 GB, free: 10.46 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 4.421e-05/0.004113, allocations: 110.8 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-06/0.004116, allocations: 0 / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.469e-05/0.004131, allocations: 3.156 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004132, allocations: 11.94 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.004137, allocations: 3.938 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004139, allocations: 4 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.617e-05/0.004195, allocations: 124.8 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004196, allocations: 0 / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.004216, allocations: 7.984 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.004217, allocations: 0 / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.004221, allocations: 0 / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004222, allocations: 0 / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.004223, allocations: 3.938 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.155e-05/0.004315, allocations: 93.03 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.00432, allocations: 3.953 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-06/0.004327, allocations: 0 / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.004343, allocations: 4 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.00437, allocations: 7.922 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.004374, allocations: 4 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.072e-05/0.004394, allocations: 79.47 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004394, allocations: 0 / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001112/0.004506, allocations: 8.031 kB / 0.6215 GB, free: 9.922 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.0002405/0.004746, allocations: 0.6124 MB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.004853, allocations: 35.95 kB / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.004854, allocations: 0 / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.00489, allocations: 16.08 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.005041, allocations: 11.94 kB / 0.6221 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.005304, allocations: 118.6 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.312e-05/0.005337, allocations: 59.48 kB / 0.6223 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.005352, allocations: 0 / 0.6223 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.005381, allocations: 16.48 kB / 0.6223 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.005381, allocations: 0 / 0.6223 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.01917, allocations: 1.895 MB / 0.6242 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.928, allocations: 12.47 kB / 0.6242 GB, free: 7.207 MB / 0.5886 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: 9.63319799862802] Failed to read output from testmodel.py, exit status != 0: 7.006523008458316 7.016465377 7.011496085 Calling exit ...