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.001155/0.001155, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001088/0.001088, allocations: 221.8 kB / 22.26 MB, free: 3.707 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 1.025/1.025, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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.8245/0.8245, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [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.00132/0.00132, allocations: 65.14 kB / 0.7183 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5931/0.5944, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.00144/0.5958, allocations: 0.6026 MB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006954/0.5965, allocations: 0.8119 MB / 0.8193 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.5966, allocations: 1.625 kB / 0.8193 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.5966, allocations: 3.938 kB / 0.8193 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.5967, allocations: 0.9375 kB / 0.8193 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.942e-05/0.5967, allocations: 7.109 kB / 0.8193 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.974e-05/0.5968, allocations: 22.03 kB / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.5968, allocations: 0.9375 kB / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.5969, allocations: 8.203 kB / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.5969, allocations: 13.3 kB / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.597, allocations: 2.625 kB / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.597, allocations: 0 / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.597, allocations: 4.594 kB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.597, allocations: 10.03 kB / 0.8193 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.5971, allocations: 17.5 kB / 0.8194 GB, free: 232 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5971, allocations: 1.438 kB / 0.8194 GB, free: 232 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5971, allocations: 0 / 0.8194 GB, free: 232 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.5971, allocations: 0 / 0.8194 GB, free: 232 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.0003287/0.5974, allocations: 264.2 kB / 0.8196 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5975, allocations: 11.84 kB / 0.8196 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.5975, allocations: 30.75 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.82e-05/0.5975, allocations: 0.9375 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.04e-05/0.5976, allocations: 113.9 kB / 0.8198 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5976, allocations: 384 / 0.8198 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.5976, allocations: 6.781 kB / 0.8198 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.5978, allocations: 41.86 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5978, allocations: 3.938 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.5978, allocations: 4.984 kB / 0.8198 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5978, allocations: 0 / 0.8198 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.5979, allocations: 31.45 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.598, allocations: 126.3 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.573e-05/0.5981, allocations: 31.25 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.5981, allocations: 31.47 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5981, allocations: 0 / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.5981, allocations: 31.08 kB / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5981, allocations: 0 / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.5983, allocations: 77.33 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.5984, allocations: 55.53 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.5985, allocations: 105.2 kB / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5985, allocations: 25.7 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.5985, allocations: 80.14 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.5985, allocations: 2.328 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.5985, allocations: 15.19 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003861/0.5989, allocations: 313 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.599, allocations: 12.58 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.599, allocations: 23.61 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.5991, allocations: 28.62 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5991, allocations: 1 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/0.5992, allocations: 66.66 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5992, allocations: 15.56 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5992, allocations: 7.406 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5993, allocations: 0.6094 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.5993, allocations: 6 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5993, allocations: 0 / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.5994, allocations: 5.797 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5994, allocations: 0 / 0.8209 GB, free: 14.77 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.796e-05/0.5994, allocations: 112.9 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.5994, allocations: 10.89 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.5995, allocations: 8.047 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.5995, allocations: 0 / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5995, allocations: 0 / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5995, allocations: 3.375 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.5995, allocations: 121.4 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5995, allocations: 1.719 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.5996, allocations: 6.562 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5996, allocations: 4.688 kB / 0.8211 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5996, allocations: 4.969 kB / 0.8211 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5996, allocations: 4 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5996, allocations: 1.812 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.5997, allocations: 83.31 kB / 0.8212 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.5997, allocations: 3.938 kB / 0.8212 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.5998, allocations: 8.484 kB / 0.8212 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.5998, allocations: 6.266 kB / 0.8212 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.5998, allocations: 9.312 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.5998, allocations: 0 / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.5999, allocations: 80.75 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5999, allocations: 0 / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001129/0.6, allocations: 2.281 kB / 0.8213 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.0003633/0.6003, allocations: 0.6277 MB / 0.8219 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.6005, allocations: 36.02 kB / 0.822 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6005, allocations: 0 / 0.822 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.6005, allocations: 14.25 kB / 0.822 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.0002248/0.6008, allocations: 9.578 kB / 0.822 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.6011, allocations: 130.9 kB / 0.8221 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.6013, allocations: 0.6736 MB / 0.8228 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.6013, allocations: 0.5156 kB / 0.8228 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.6014, allocations: 9.312 kB / 0.8228 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of SimCode: time 9.51e-07/0.6014, allocations: 0 / 0.8228 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.6175, allocations: 1.318 MB / 0.8241 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.449/7.066, allocations: 20.39 kB / 0.8241 GB, free: 12.41 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.1559039268177] Failed to read output from testmodel.py, exit status != 0: 7.144593900069594 7.156485311 6.557323252 Calling exit ...